Skip to content

pragma-org/amaru

Repository files navigation

Amaru

Amaru is a Cardano node client written in Rust. It is an ambitious project which aims to bring more diversity to the infrastructure operating the Cardano network.

Getting Started

Warning

Amaru is still in an exploratory phase. Our development strategy favors early integration of components, so that progress is instantly visible, even though features might be limited or incomplete.

Installing

cargo build --release

Running (demo)

Important

These instructions assume one starts from scratch, and has access to a running cardano-node on the preprod network.

To run a local peer, refer to Cardano's developers portal. Make sure your peer listens to port 3001 or adapt the AMARU_PEER_ADDRESS environment variable (e.g. export AMARU_PEER_ADDRESS=127.0.0.1:3002)

  1. Bootstrap the node:
make bootstrap
  1. (Optional) Setup observability backends:
docker-compose -f monitoring/jaeger/docker-compose.yml up
  1. Run Amaru:
cargo run --release -- daemon \
  --peer-address=127.0.0.1:3001 \
  --network=preprod

Replace --peer-address with your Cardano node peer address. It can be either a local or remote node (i.e. any existing node relay), and you can even add multiple peers by replicating the option.

Tip

To ensure logs are forwarded to telemetry backend, pass --with-open-telemetry as an option before the daemon sub-command, eg.

cargo run --release -- --with-open-telemetry daemon \
 --peer-address=127.0.0.1:3001 \
 --network=preprod

Monitoring

See monitoring/README.md.

Going further

Amaru is the integration point of several other projects / repositories. Amongst them, we find in particular:

Repository Purpose
txpipe/pallas Hosts many Rust primitives and building blocks for the node already powering tools like Dolos. In particular, the networking and serialization logic.
pragma-org/uplc A highly performant UPLC parser and CEK machine.

Roadmap | 📐 Contributing | Discord Discord

About

A node client for Cardano, written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 15

Languages