Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.05 KB

README.md

File metadata and controls

58 lines (37 loc) · 1.05 KB

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