Foundry Axelar GMP Example Now Supports Interchain Token Service (ITS) Integration

Software Engineer | Developer Advocate | Technical Writer | Content Creator
Search for a command to run...

Software Engineer | Developer Advocate | Technical Writer | Content Creator
No comments yet. Be the first to comment.
Release Date: January 2025 Status: Live on Mainnet We’re thrilled to announce the launch of ITS Hub, a significant leap forward in blockchain interoperability. ITS Hub builds on the foundation of the Interchain Token Service (ITS) by introducing a ce...

In 2024, Axelar took massive strides toward making true multichain interoperability a reality. From unlocking new design spaces for builders to connecting more than 69 chains to unveiling the Mobius Development Stack. 2024 proved that Axelar is here ...

Welcome to the November 2024 Axelar Developer Newsletter! About Axelar: Axelar is the Web3 interoperability platform, delivering the shortest path to scale: an open stack to connect all blockchains. Adopters include Uniswap, Microsoft, and dozens of ...

Welcome to the October 2024 Axelar Developer Newsletter! About Axelar: Axelar is the Web3 interoperability platform, delivering the shortest path to scale: an open stack to connect all blockchains. Adopters include Uniswap, Microsoft, and dozens of n...

We’re pleased to announce the release of ampd version 1.2. What is ampd? ampd is part of the Interchain Amplifier. It is a daemon that is run by verifiers who form the decentralized group that vote on the truthfulness of cross-chain transactions. amp...

We're excited to announce that the Foundry Axelar GMP Example repository now features integration with Axelar's Interchain Token Service (ITS). This update empowers developers to build cross-chain applications more efficiently, simplifying the deployment and interaction with interchain tokens.
Axelar's Interchain Token Service allows developers to create and manage tokens that operate seamlessly across multiple blockchain networks. With ITS, you can deploy tokens that are natively cross-chain, eliminating the complexities of bridging and wrapping tokens manually.
ITS leverages sophisticated mechanisms to ensure tokens maintain their integrity and security across chains, offering a robust solution for developers looking to extend their tokens' reach beyond a single blockchain. It scales tokens to many chains, supporting existing and newly minted tokens, preserving native-like fungibility and functionality on connected EVM chains, and automating deployment and maintenance so teams can easily manage supply.
We've added several new examples to help you get started with ITS:
New Interchain Token Example: Learn how to deploy a brand-new interchain token using ITS.
Canonical Token Deployment Example: Discover how to deploy a canonical token that serves as a single source of truth across chains.
Interchain Custom Token Example: Explore how to create and interact with custom tokens with interchain functionality.
You can check out the updated repository here: Foundry Axelar GMP Example
By integrating ITS into the Foundry Axelar GMP example, we've made it simpler for you to:
Develop Multichain Tokens: Easily create tokens that work across different blockchain networks without dealing with multiple codebases.
Simplify Cross-Chain Interactions: Use Axelar's General Message Passing (GMP) to interact with contracts on other chains effortlessly.
Accelerate Development: Utilize ready-made examples and scripts to speed up your development process.
Clone the Repository:
Begin by cloning the Foundry Axelar GMP Example repository.
git clone https://github.com/axelarnetwork/foundry-axelar-gmp-example
Navigate into the Project Directory:
cd foundry-axelar-gmp-example
Install Dependencies:
Run the following command to install all dependencies and build the project:
make all
This command will:
Install the necessary dependencies.
Create a .env file from .env.example.
Build and update the project.
Start Local Chains:
To test Axelar GMP locally, start local blockchain networks:
make local-chain-start
Leave this running in a separate terminal.
Deploy Contracts:
Deploy the contracts to the local chains:
make local-chain-deploy
Execute Contracts:
Now you can test General Message Passing (GMP) and other features:
make local-chain-execute
We've included a set of Makefile Commands to streamline your workflow:
make all: Install dependencies, build, and update the project.
make setup-env: Create a .env file from .env.example.
make install: Install all dependencies.
make build: Compile the smart contracts.
make update: Pull the latest updates for the project.
make deploy: Deploy a specific contract to a specified network.
make execute: Execute a function of a deployed contract on a specified network.
make format: Format the codebase using Foundry's formatter.
make test: Run tests with increased verbosity.
make clean: Remove generated artifacts.
make rpc: Display RPC URLs for various networks.
make help: Display the help menu.
make local-chain-start: Start local blockchain networks using Anvil.
make local-chain-deploy: Deploy contracts to local chains.
make local-chain-execute: Execute commands to test GMP with ITS.
make deploy-interchain-token: Deploy an interchain token on local chains.
make deploy-mint-burn-token-manager-and-transfer: Set up token managers and perform a transfer on local chains.
make deploy-canonical-token: Deploy a canonical token on local chains.
make help: Display the help menu with available commands and descriptions.
make deploy-canonical-token-testnet: Deploy and register a canonical token on testnet.
make transfer-canonical-token-testnet: Perform interchain transfer of a canonical token on testnet.
make deploy-interchain-token-testnet: Deploy an interchain token on testnet.
make transfer-interchain-token-testnet: Perform interchain transfer of an interchain token on testnet.
make deploy-custom-token-testnet: Deploy a custom token on testnet.
make transfer-custom-token-testnet: Perform interchain transfer of a custom token on testnet.
Check out the updated repository here: Foundry Axelar GMP Example.
We encourage you to explore the new ITS features and build cross-chain applications. The updated examples are designed to help you grasp the concepts quickly and integrate them into your projects.
Prefer Hardhat? Check out our Axelar Examples repository for more resources.
If you have any questions or need assistance, please open an issue in our support repository. We're here to help!