Request form
Axelar Examples
  • Axelar
  • Cross Chain
Docs
Source
ChefGPT

Powering the Chain-Agnostic Future

IAxelarGasService.sol
IAxelarGateway.sol
IERC20Permit.sol
AxelarExecutable.sol
AxelarExpressExecutable.sol
ExpressExecutorTracker.sol
IAxelarExecutable.sol
IAxelarExpressExecutable.sol
IAxelarGasService.sol
IAxelarGateway.sol
IAxelarValuedExpressExecutable.sol
IContractIdentifier.sol
IERC20.sol
IGovernable.sol
IImplementation.sol
IInitProxy.sol
IInterchainAddressTracker.sol
IMulticall.sol
IOwnable.sol
IPausable.sol
IProxy.sol
IRolesBase.sol
IUpgradable.sol
AddressBytes.sol
AddressString.sol
SafeTransfer.sol
ERC20.sol
BaseProxy.sol
Implementation.sol
InitProxy.sol
Upgradable.sol
Ownable.sol
RolesBase.sol
InterchainTokenExecutable.sol
InterchainTokenExpressExecutable.sol
ERC20.sol
ERC20Permit.sol
InterchainToken.sol
InterchainTokenStandard.sol
IAddressTracker.sol
IBaseTokenManager.sol
IERC20MintableBurnable.sol
IERC20Named.sol
IFlowLimit.sol
IInterchainToken.sol
IInterchainTokenExecutable.sol
IInterchainTokenExpressExecutable.sol
IInterchainTokenService.sol
IInterchainTokenStandard.sol
IMinter.sol
IOperator.sol
ITokenManager.sol
ITokenManagerImplementation.sol
ITokenManagerType.sol
ITransmitInterchainToken.sol
Minter.sol
RolesConstants.sol
IERC165.sol
IERC4906.sol
IERC721.sol
ERC20.sol
IERC20Metadata.sol
IERC20.sol
ERC721.sol
ERC721URIStorage.sol
IERC721Metadata.sol
IERC721.sol
IERC721Receiver.sol
Address.sol
Context.sol
ERC165.sol
IERC165.sol
Math.sol
SignedMath.sol
Strings.sol
SendReceive.sol
CallContractWithTokenExpress.sol
CallContractWithToken.sol
CallContract.sol
CompoundInterface.sol
CErc20Interface.sol
Comptroller.sol
LendingSatellite.sol
ERC20CrossChain.sol
ERC20CrossChainProxy.sol
IERC20CrossChain.sol
CanonicalToken.sol
CustomToken.sol
InterchainExecutableExample.sol
ERC721Demo.sol
NftAuctionhouse.sol
NftAuctionhouseRemote.sol
ERC721Demo.sol
NftLinker.sol
NftLinkerProxy.sol
ExecutableImplementation.sol
NoncedExecutable.sol
SendAckReceiver.sol
SendAckReceiverImplementation.sol
SendAckSender.sol
HelloWorld.sol

Chains

Authors

Axelar Examples
  • Axelar
  • Cross Chain
Info
Source
ChefGPT
Expand
Share

Get Cookin'

Authors

Axelar cross-chain dApp examples

Introduction

This repo provides the code for several example dApps in the Axelar Local Development Environment. Examples contain both JavaScript and Solidity smart contract code.

Note: Some example folders in this repo are not documented.

One-time setup

Install nodejs. Run node -v to check your installation.

Support Node.js version 16.x and 18.x

  1. Clone this repo:
git clone https://github.com/axelarnetwork/axelar-examples.git
  1. Navigate to axelar-examples and install dependencies:
npm install
  1. Compile smart contracts:
npm run build

Set environment variables

You can get started quickly with a random local key and .env file by running

npm run setup

Or you can manually copy the example .env.example file and fill in your EVM private key. See the example Metamask Instructions for exporting your private keys.

cp .env.example .env

Then update to your own private key.

Running the local chains

npm run start

Leave this node running on a separate terminal before deploying and testing the dApps.

Print wallet balances

This script will print your wallet balances for each chain.

npm run check-balance [local|testnet]

If not specified, this will print balances of the wallet for testnet.

Examples

Powering the Chain-Agnostic Future
IAxelarGasService.sol
IAxelarGateway.sol
IERC20Permit.sol
AxelarExecutable.sol
AxelarExpressExecutable.sol
ExpressExecutorTracker.sol
IAxelarExecutable.sol
IAxelarExpressExecutable.sol
IAxelarGasService.sol
IAxelarGateway.sol
IAxelarValuedExpressExecutable.sol
IContractIdentifier.sol
IERC20.sol
IGovernable.sol
IImplementation.sol
IInitProxy.sol
IInterchainAddressTracker.sol
IMulticall.sol
IOwnable.sol
IPausable.sol
IProxy.sol
IRolesBase.sol
IUpgradable.sol
AddressBytes.sol
AddressString.sol
SafeTransfer.sol
ERC20.sol
BaseProxy.sol
Implementation.sol
InitProxy.sol
Upgradable.sol
Ownable.sol
RolesBase.sol
InterchainTokenExecutable.sol
InterchainTokenExpressExecutable.sol
ERC20.sol
ERC20Permit.sol
InterchainToken.sol
InterchainTokenStandard.sol
IAddressTracker.sol
IBaseTokenManager.sol
IERC20MintableBurnable.sol
IERC20Named.sol
IFlowLimit.sol
IInterchainToken.sol
IInterchainTokenExecutable.sol
IInterchainTokenExpressExecutable.sol
IInterchainTokenService.sol
IInterchainTokenStandard.sol
IMinter.sol
IOperator.sol
ITokenManager.sol
ITokenManagerImplementation.sol
ITokenManagerType.sol
ITransmitInterchainToken.sol
Minter.sol
RolesConstants.sol
IERC165.sol
IERC4906.sol
IERC721.sol
ERC20.sol
IERC20Metadata.sol
IERC20.sol
ERC721.sol
ERC721URIStorage.sol
IERC721Metadata.sol
IERC721.sol
IERC721Receiver.sol
Address.sol
Context.sol
ERC165.sol
IERC165.sol
Math.sol
SignedMath.sol
Strings.sol
SendReceive.sol
CallContractWithTokenExpress.sol
CallContractWithToken.sol
CallContract.sol
CompoundInterface.sol
CErc20Interface.sol
Comptroller.sol
LendingSatellite.sol
ERC20CrossChain.sol
ERC20CrossChainProxy.sol
IERC20CrossChain.sol
CanonicalToken.sol
CustomToken.sol
InterchainExecutableExample.sol
ERC721Demo.sol
NftAuctionhouse.sol
NftAuctionhouseRemote.sol
ERC721Demo.sol
NftLinker.sol
NftLinkerProxy.sol
ExecutableImplementation.sol
NoncedExecutable.sol
SendAckReceiver.sol
SendAckReceiverImplementation.sol
SendAckSender.sol
HelloWorld.sol