Skip to content

Repository files navigation

Solana-Axelar Interoperability

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.

Table of Contents

Repository contents

Solana programs

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

Utility crates

  • solana-axelar-std: Primitive types, encoding and hashing utilities shared across programs.

Related Repositories

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

Getting Started

Prerequisites

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

Building

# Build all programs (default network: devnet-amplifier)
anchor build

# Build for a specific network
cargo xtask build --network mainnet

Testing

cargo xtask test

IDL generation

anchor idl build

Linting

# Runs clippy + fmt check
cargo xtask check

About

Solana / Axelar Interoperability

Resources

Code of conduct

Contributing

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages