Helper scripts for common development tasks.
Compiles all smart contracts for WASM target.
./scripts/build.shRuns all tests (contracts + frontend).
./scripts/test.shDeploys contracts to Stellar testnet.
./scripts/deploy_testnet.shEnvironment Variables:
STELLAR_NETWORK- Network name (default: testnet)STELLAR_RPC_URL- RPC endpoint (default: https://soroban-testnet.stellar.org)
Deploys contracts to Stellar mainnet with confirmation prompt.
./scripts/deploy_mainnet.shEnvironment Variables:
STELLAR_NETWORK- Network name (default: mainnet)STELLAR_RPC_URL- RPC endpoint (default: https://soroban-rpc.mainnet.stellar.gateway.fm)
- Rust toolchain with
wasm32-unknown-unknowntarget - Stellar CLI (
stellar) - Node.js and npm (for frontend tests)
- Configured Stellar account (for deployments)
Install Stellar CLI:
cargo install --locked stellar-cliAdd WASM target:
rustup target add wasm32-unknown-unknownConfigure network identity:
stellar keys generate default --network testnet