This repository contains the integration work between Solana and Axelar, enabling seamless cross-chain communication. The project includes General Message Passing (GMP) contracts and other Axelar core components.
- Gateway: The core contract responsible for authenticating GMP messages.
- Interchain Token Service: Bridge tokens between chains.
- Gas Service: Used for gas payments for the relayer.
- Governance: The governing entity over on-chain programs, responsible for program upgrades.
- Operators: Manages operator roles and permissions.
- Memo: An example program that sends and receives GMP messages.
- solana-axelar-std: Primitive types, encoding and hashing utilities shared across programs.
- Solana Relayer: The off-chain entity that will route your messages to and from Solana.
- Relayer Core: Used as a core building block for the Solana Relayer.
- Multisig Prover: The entity on the Axelar chain that is responsible for encoding the data for the Relayer and the Solana Gateway.
- Chain Codec Solana: Used by Multisig Prover for Solana-specific encodings.
- Utility Scripts: Contract deployment scripts and resources for Axelar.
Install all Solana and Anchor development dependencies. See the Anchor installation guide for details.
On Mac/Linux you can install everything with:
curl --proto '=https' --tlsv1.2 -sSfL https://solana-install.solana.workers.dev | bash# Build all programs (default network: devnet-amplifier)
anchor build
# Build for a specific network
cargo xtask build --network mainnetcargo xtask testanchor idl build# Runs clippy + fmt check
cargo xtask check