Skip to content

Axelar Cross-chain Gateway Protocol for Soroban platform

License

Notifications You must be signed in to change notification settings

axelarnetwork/axelar-cgp-soroban

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

Install

Install Soroban CLI

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

Build

cargo build

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

About

Axelar Cross-chain Gateway Protocol for Soroban platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published