- Rust toolchain
- Stellar CLI for contract work
- PostgreSQL if you want to exercise the backend database store
- Redis only for the optional Redis rate-limiter tests
cd stellar-contracts
cargo fmt
cargo testcd backend-2fa
cargo fmt
cargo test- The backend test suite skips Redis integration tests unless
REDIS_URLis set. - The repo contains two independent Rust crates, so build and test them separately.
- Use
.env.exampleas the starting point for local environment variables.