Skip to content
/ pa-evm Public

A protocol adapter contract written in Solidity enabling Anoma Resource Machine transaction settlement on EVM-compatible chains.

Notifications You must be signed in to change notification settings

anoma/pa-evm

Repository files navigation

Contracts Tests soldeer.xyz License

Bindings Tests crates.io License

Anoma EVM Protocol Adapter

A protocol adapter (PA) contract written in Solidity enabling Anoma Resource Machine transaction settlement on EVM-compatible chains.

Project Structure

This monorepo is structured as follows:

.
├── audits
├── bindings
├── contracts
├── example-tx-generation
├── 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 bindings folder 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.

The example-tx-generation folder contains a binary to generate example transactions with aggregated and non-aggregated proofs as .bin files for testing purposes, which can be used for testing purposes, e.g., in ./contracts/test/examples/transactions/.

Audits

Our software undergoes regular audits:

  1. Informal Systems

    📄 Audit Report (pdf)

  2. Nethermind

    📄 Audit Report (pdf)

Security

If you believe you've found a security issue, we encourage you to notify us via Email at security@anoma.foundation.

Please do not use the issue tracker for security issues. We welcome working with you to resolve the issue promptly.

Benchmarks

The following benchmark shows the transaction execution costs without and with proof aggregation for the current protocol adapter implementation:

Protocol adapter benchmark.

About

A protocol adapter contract written in Solidity enabling Anoma Resource Machine transaction settlement on EVM-compatible chains.

Topics

Resources

Stars

Watchers

Forks

Contributors 10