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.

Install

Install Soroban CLI

cargo install --locked soroban-cli --features opt

Build

cargo wasm

Test

cargo test

Coverage

cargo install cargo-llvm-cov
cargo llvm-cov

Coverage Report

Generate report

cargo llvm-cov --html

Generate and Open report

cargo llvm-cov --open

Deploy

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

Build, Optimize and Deploy contract:

soroban contract build

./optimize.sh

soroban 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