Skip to content

Axelar Cross-chain Gateway Protocol for Soroban platform

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

axelarnetwork/axelar-cgp-stellar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1b0678d · Jan 22, 2025
Feb 26, 2024
Jan 22, 2025
Jan 22, 2025
Jan 22, 2025
Apr 26, 2024
Jan 16, 2025
Jan 22, 2025
Jan 21, 2025
Jan 17, 2025
Jan 17, 2025
Dec 10, 2024
Jan 17, 2025
Jan 14, 2025

Repository files navigation

Axelar Cross-chain Gateway Protocol for Soroban

This repo implements Axelar's cross-chain gateway protocol in Soroban for use on Stellar. The reference Solidity contracts can be found here.

Check configuration for CLI and Identity before deployment: https://developers.stellar.org/docs/build/smart-contracts/getting-started/setup

Docs

Rustdocs for this workspace can be found here.

Install

Install Soroban CLI

cargo install --locked stellar-cli --features opt

Build

cargo build

Build wasm

cargo wasm

# OR

stellar contract build

Test

cargo test

Coverage

cargo install cargo-llvm-cov
cargo llvm-cov
cargo llvm-cov --html # Generate coverage report
cargo llvm-cov --open # Generate coverage and open report

Optimize and Deploy contract:

./optimize.sh

stellar contract deploy --wasm target/wasm32-unknown-unknown/release/[contract].optimized.wasm --source wallet --network testnet