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.
The Solana-Axelar integration contains on-chain and off-chain components.
- Gateway: The core contract responsible for authenticating GMP messages.
- Gas Service: Used for gas payments for the relayer.
- Interchain Token Service: Bridge tokens between chains.
- Multicall: Execute multiple actions from a single GMP message.
- Governance: The governing entity over on-chain programs, responsible for program upgrades.
- Memo: An example program that sends and receives GMP messages.
- Axelar Executable: A set of libraries & interfaces that the destination program (3rd party integration) must implement.
- Axelar Solana Encoding: Encoding used by the Multisig Prover to encode the data in a way that the relayer & the Solana Gateway can interpret.
- Gateway Event Stack: The Relayer uses this crate to parse Gas Service & Gateway events.
- Axelar Memo: A counterpart of the
axelar-solana-memo
program that acts as an example program used to send GMP messages back and forth Solana. - Axelar Solana Multi Call: An example contract used to showcase how to compose Multicall payloads for Solana.
- Solana Gateway Payload: A Solditiy library that can create Solana-specific GMP payloads.
- Solana Relayer: The off-chain entity that will route your messages to and from Solana.
- Relayer Core: All Axelar-related relayer infrastructure. Used as a core building block for the Solana Relayer. The Axelar-Starknet and Axlelar-Aleo relayers also use it.
- Multisig Prover: The entity on the Axelar chain that is responsible for encoding the data for the Relayer and the Solana Gateway
- Utility Scripts: Deployment scripts; GMP testing scripts and other utilities.
- Solana CLI (for running tests during development)
- Foundry (for running e2e tests, GMP examples between Solana and an EVM chain)
git clone [email protected]:eigerco/solana-axelar.git
cd solana
cargo xtask test
About Eiger
We are engineers. We contribute to various ecosystems by building low-level implementations and core components. We work on several Axelar and Solana projects and connecting these two is a fundamental goal to achieve cross-chain execution.
Contact us at [email protected] Follow us on X/Twitter