Soroban smart contracts for Swipely, the cross-chain bridge and DEX liquidity monitoring platform on the Stellar network. These contracts provide the on-chain primitives the platform relies on — trusted source registries, asset locking/escrow, operator rotation, and transfer state tracking.
This is a Cargo workspace with the following members:
| Crate | Description |
|---|---|
soroban/ |
Core Soroban contracts (access control, trusted sources, thresholds) |
escrow_contract/ |
Time-locked escrow contract for bridge transfers |
transfer_state_machine/ |
Transfer state-machine contract logic |
harness/ |
Test harness and integration helpers |
- Rust (stable) with the
wasm32-unknown-unknowntarget - Soroban CLI (
stellar/soroban)
rustup target add wasm32-unknown-unknown# Build optimized wasm for release
cargo build --release --target wasm32-unknown-unknown
# Run the contract test suites
cargo testThe release profile is tuned for small wasm output (opt-level = "z", LTO,
symbol stripping) — see Cargo.toml.
swipely_frontend— dashboard UIswipely_backend— API and monitoring services
MIT — see LICENSE.