Prerequisites
- Rust 1.88+ (
rustup update stable) - Node.js 18+ (for frontend)
- Git
Clone and build
Run tests
- ML-KEM key generation, encapsulation, decapsulation
- Stealth address derivation and scanning
- View tag computation and verification
- API route handlers
- Registry backends
- Name service resolution
- Yellow channel operations
Run the API server locally
http://localhost:3001. The memory registry works out of the box for development.
Workspace structure
Frontend development
http://localhost:5173. Edit VITE_API_URL in .env to point at your local backend.
Scripts
Thescripts/ directory has helpers:
| Script | Purpose |
|---|---|
build-and-test.sh | Build all crates + run tests |
e2e-stealth-flow.sh | Full end-to-end payment test |
interactive-ens-test.sh | ENS resolution demo |
rebuild-backend.sh | Quick backend rebuild |
CI/CD
GitHub Actions runs on every push to main and on PRs:rustfmt- Code formatting checkclippy- Lint with warnings-as-errorscargo test- Full test suite
cargo fmt --check and cargo clippy -- -D warnings pass before pushing.
Contributing
PR workflow and conventions.
Architecture
How the crates connect.
