Development
The README has every command, prerequisites and the Barretenberg build explained. In short:
cp .env.example .env # RPC endpoint per network
scripts/fetch-crs.sh # proving setup files, bundled by both apps
scripts/build-bb-android.sh all arm64-v8a # one Barretenberg library per release (≈ 10 min each)
scripts/build-android.sh arm64-v8a # Rust core + bindings + Barretenberg into jniLibs
cd android && ./gradlew installDebug # also builds the PXE hosts
On macOS: scripts/build-bb-ios.sh all (one Barretenberg framework per release), scripts/build-ios.sh (Rust core), then xcodegen generate in ios/, pick your signing team in Xcode, and run.
Tests
scripts/test-all.sh
| Suite | What it covers |
|---|---|
scripts/check-limits.py | At most 600 lines per file and 50 per function |
Rust (cargo test) | Network registry, .env resolution, node client, proof framing, release switching, bindings |
Rust, live (LIVE=1) | Every configured node answers and matches its network |
| Android (JVM) | View model and binding mappings, with a fake backend |
iOS (swift test) | Wallet model, with a fake backend |
Rules
Contributors and coding agents follow AGENTS.md: English everywhere, the size limits, tests with every change, secrets only in .env, latest stable toolchains.