Skip to Content

Installation

How to run atl-server as a standalone service or in Node/Sequencer mode.

Requirements

  • Rust 1.92.0 or later

Install (Cargo)

cargo install --git https://github.com/evidentum-io/atl-server --locked

For Node/Sequencer (gRPC) mode:

cargo install --git https://github.com/evidentum-io/atl-server --locked --features grpc

Run (Standalone)

Standalone mode requires a signing key and a persistent database path.

export ATL_ROLE=standalone export ATL_SIGNING_KEY_PATH=/path/to/signing.key export ATL_DATABASE_PATH=/var/lib/atl/atl.db export ATL_BASE_URL=https://example.com atl-server

Run (Node + Sequencer)

Sequencer:

export ATL_ROLE=sequencer export ATL_SIGNING_KEY_PATH=/path/to/signing.key export ATL_DATABASE_PATH=/var/lib/atl/atl.db export ATL_BASE_URL=https://sequencer.example.com export ATL_SEQUENCER_TOKEN=shared-secret atl-server

Node:

export ATL_ROLE=node export ATL_BASE_URL=https://node.example.com export ATL_SEQUENCER_URL=http://sequencer:50051 export ATL_SEQUENCER_TOKEN=shared-secret atl-server
Last updated on