A protocol adapter (PA) contract written in Solidity enabling Anoma Resource Machine transaction settlement on EVM-compatible chains.
The documentation specifies the protocol adapter: its upgradeability and ownership, its proofs, state and events, the kind tree root and the denylists, the order of the external calls, and the migration from the legacy protocol adapter.
The protocol adapter stores a kind tree root. The kind tree decides which kinds of resources can convert into each other. The repository risc0-kind-trees records the kind tree of each protocol adapter.
This monorepo is structured as follows:
.
├── audits
├── contracts
├── crates
│ ├── bindings
│ └── integration-test
├── Cargo.lock
├── Cargo.toml
├── README.md
└── RELEASE_CHECKLIST.md
The contracts folder contains the contracts written in Solidity as well as Foundry forge tests and deploy scripts.
The crates folder contains the Rust workspace:
- bindings provides Rust bindings for the conversion of Rust and RISC Zero types into EVM types and exposes the deployment addresses on the different supported networks using the alloy-rs library.
- integration-test contains the Rust integration and e2e test harness that deploys the protocol adapter to a local or forked chain and exercises it with risc0-proven transactions.
just crates-testruns the local cases.just crates-test-e2eruns the e2e cases on a fork ofE2E_CHAIN_ID(Sepolia by default) against the recorded protocol adapter, and proves them with the queue atQUEUE_BASE_URL. CI runs them on pull requests intostagingandmain.
Our software undergoes regular audits:
-
Informal Systems
- Company Website: https://informal.systems
- Commit ID: 0f36a7af24000f7a5e41c2ca5327935789a8d2ae
- Started: 2026-11-02
- Finished: 2026-11-19
- Last revised: 2026-11-25
-
Informal Systems
- Company Website: https://informal.systems
- Commit ID: fc69013e7bc2db1bddf6ef6936e8bf03d14f2963
- Started: 2025-10-13
- Finished: 2025-10-31
- Last revised: 2025-11-07
-
Nethermind
- Company Website: https://www.nethermind.io/nethermind-security
- Commit ID: fee4f47050689b82473e9a3198e7a2065becb3fb
- Started: 2025-10-07
- Finished: 2025-11-13
If you believe you've found a security issue, we encourage you to notify us via Email at [email protected].
Please do not use the issue tracker for security issues. We welcome working with you to resolve the issue promptly.