Foundry Axelar GMP Example Now Supports Axelar Local Cross-Chain Development

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...

Late last year, we announced the Foundry Axelar GMP Example repository. This showcases an example of integrating with Axelar's General Message Passing (GMP) using the Foundry framework.

We're thrilled to announce that the Foundry Axelar GMP Example now includes support for the Axelar Local Development Environment. This update allows developers to build, compile, and test cross-chain functionalities with Axelar's GMP locally, eliminating the need to deal with testnet faucets.
The Foundry framework is recognized for its efficiency and user-friendliness. It offers a complete set of tools for developing smart contracts compatible with the Ethereum Virtual Machine (EVM). The Foundry GMP Example makes the process easier and boosts developers' ability to create smart contracts interacting with multiple blockchain networks.
The Foundry Axelar GMP Example offers a practical way to show the possibilities and versatility of these integrations with the Axelar Local Development. It helps you start your development locally quickly without needing a complex setup or worrying about the testnet faucet when testing on testnet.
We have a list of make commands that do every setup required to build and compile the project and send it off to the blockchains you choose, making it easier to pass data dynamically as needed when testing.
Don't worry about private keys; we have set everything up locally using the Anvil blockchain. Additionally, we have configured five different networks - Ethereum, Avalanche, Moonbeam, Fantom, and Polygon - for you to test.
This repository provides a set of Makefile commands to facilitate everyday tasks:
make all : Install dependencies, build, and update the project.
make setup-env : Create a .env file from .env.example.
make install : Install the dependencies.
make build : Compile the contracts.
make update : Update the project.
make deploy : Deploy a specific contract to a given network.
make execute : Execute a specific contract on a given network.
make format : Format the codebase using the Foundry formatter.
make test : Run tests with increased verbosity.
make clean : Clean any generated artifacts.
make rpc : Display RPC URLs for various networks.
make help : Display the help menu.
local-chain-start: Start the local chains
local-chain-deploy: Deploy all the contracts to local chains
local-chain-execute: Execute the commands to test GMP
Start building with Foundry and Axelar GMP. You'll find comprehensive documentation and code examples to kickstart your projects.
Prefer Hardhat? Check out our Axelar Examples repository for more resources.
If you have any questions or concerns, open an issue in our support repository. We're here to help.