# oltenrs Documentation > Single-binary, zero-JVM, zero-Docker Rust runtime and CLI for Canton Network and Daml local development, testing, simulation, and companion workflows. Targeting Canton 3.7.x (PV 36–37) · Splice 0.10.x. Independent Apache-2.0 open-source project (not affiliated with, sponsored, or endorsed by Digital Asset (Switzerland) GmbH). - Latest release: `v0.9.0` (https://github.com/cantonrs/canton-rs) - Full single-file English docs for LLMs: https://doc.oltenrs.dev/llms-full.txt - Full single-file Korean docs for LLMs: https://doc.oltenrs.dev/llms-ko-full.txt - Companion 34-chapter technical book (EN & KO web + PDF): https://learnyousomecanton.com/en/index.html ## Quick Install & Core CLI - Linux / macOS: `curl -fsSL https://oltenrs.dev/install.sh | sh` - Key workflows: `doctor`, `up` / `daemon up`, `deploy`, `ui` (Olten Studio v2), `mcp` (read-only MCP), `token` (CIP-0056 / CIP-0112), `simulate`, `test`, `dar` ## Documentation Index ### Getting Started - [Overview of oltenrs](https://doc.oltenrs.dev/?lang=en#overview): oltenrs is a native Rust runtime that runs the full Canton Network and Daml protocol stack in a single executable without a JVM. - [Using oltenrs with Scala Canton (Standard vs. Companion vs. Exclusive)](https://doc.oltenrs.dev/?lang=en#scala-companion): You do not need to replace your existing JVM Canton nodes to benefit from oltenrs. Every page in these docs is tagged with a 3-tier compatibility badge so teams can immediately distinguish Canton 3.7.x standard features from companion tools that plug directly into Scala Canton and oltenrs exclusive runtime features. - [Install & Quickstart](https://doc.oltenrs.dev/?lang=en#quickstart): Install the standalone binary, spin up a local Canton cluster from a declarative manifest, and attach the live TUI dashboard and console. - [Architecture & Protocol Principles](https://doc.oltenrs.dev/?lang=en#architecture): How the Canton protocol pairs sub-transaction privacy with atomic settlement, and how oltenrs integrates into existing Canton environments without downtime. ### Daemon & Operations - [canton-daemon.yaml Configuration Guide](https://doc.oltenrs.dev/?lang=en#daemon-yaml): Declare synchronizers, cell isolation, port allocations, and PostgreSQL storage in a single YAML manifest instead of maintaining separate HOCON configs and Scala bootstrap scripts. - [Process Supervisor & Real-Time Monitoring (daemon top)](https://doc.oltenrs.dev/?lang=en#supervisor): Launch multiple nodes in the background with dependency-ordered lifecycle management, automatic recovery, zero-payload protocol X-Ray, a 5-tab TUI, and Prometheus metrics. - [LocalNet DX (1): Preflight Diagnostics, Multi-Instance Isolation & Snapshots](https://doc.oltenrs.dev/?lang=en#localnet-dx): Validate port plans and host prerequisites with zero side effects before spawning a single process, and isolate, snapshot, and clone multiple named Canton networks side by side on one workstation or CI runner. - [LocalNet DX (2): Party-Scoped Projections & Loopback Dev Auth](https://doc.oltenrs.dev/?lang=en#daemon-inspect-auth): Inspect and diff active contracts and transaction effect trees strictly from a chosen party's visibility scope without hand-writing JSON filter payloads, and issue loopback-scoped development JWTs with live participant authorization. - [Live Console & Canton REPL (console)](https://doc.oltenrs.dev/?lang=en#console): Attach directly to a running daemon over daemon.sock without specifying host ports and execute standard Canton console expressions or existing .canton scripts. - [Hands-On Network Labs (5 Scenarios)](https://doc.oltenrs.dev/?lang=en#hands-on-labs): Reproduce multi-party DvP contract isolation, 4-node BFT failover, multi-domain bridging, a single-organization production stack, and the full LocalNet DX workflow locally in a few commands. ### Migration & DB - [Shadow Verification & Non-Disruptive Cutover](https://doc.oltenrs.dev/?lang=en#migration): Read your existing canton.conf and bootstrap.sc files directly, compare results side by side on offset ports against a running JVM hub, and cut over cleanly. - [DB Migrations & History Archiving (db)](https://doc.oltenrs.dev/?lang=en#db): Run embedded Flyway schema migrations, take over existing participant databases, and archive aged ledger history into signed hash-chain segments before pruning. ### Nodes & Ledger API - [Ledger API v2 (node json-api · node ledger-api)](https://doc.oltenrs.dev/?lang=en#ledger-api): Serve both the HTTP/WebSocket Ledger API v2 (node json-api) for backend apps and Wallet SDKs and a standalone gRPC server (node ledger-api), or expose HTTP, gRPC, and Admin ports from a single shared-memory process. - [Standalone Protocol Nodes (node participant · node sequencer · node mediator)](https://doc.oltenrs.dev/?lang=en#nodes): Run participant, sequencer, and mediator roles as dedicated standalone processes under oltenrs node and join existing BFT synchronizer clusters. ### Splice & Query - [Splice Apps & Scan Registry (splice · splice scan)](https://doc.oltenrs.dev/?lang=en#splice-scan): Host unmodified official Splice DARs in a single process covering Super Validator (SV) governance, Validator onboarding, wallet transfers, automated settlement rounds, and live Scan registry APIs. - [Real-Time PostgreSQL Participant Query Store (db pqs)](https://doc.oltenrs.dev/?lang=en#pqs): Project JSON Ledger API v2 updates into oltenrs PostgreSQL tables (pqs_*) indexed with JSONB and GIN so backend queries never contend with internal participant tables (lapi_*). ### Tokens & Settlement - [Token Standard V2 Overview & How It Works (oltenrs token)](https://doc.oltenrs.dev/?lang=en#token-v2): CLI client that connects to a running participant's JSON Ledger API v2 to mint tokens, execute two-step transfers, settle multi-party DvP batches atomically, and audit balances and activity. - [Connection, Auth & Prerequisites](https://doc.oltenrs.dev/?lang=en#token-setup): How endpoint discovery, JWT authentication modes, and ledger prerequisites work across local supervisor instances and external remote participants. - [Workflows by Environment (Local · Multi-Org · DevNet · CI · Production)](https://doc.oltenrs.dev/?lang=en#token-usecases): Practical patterns tailored to single-node local development, cross-organization participants, Splice DevNet, automated CI pipelines, and production read/response workflows. - [Minting & Two-Step Transfer Lifecycle (create · mint · transfer · balance)](https://doc.oltenrs.dev/?lang=en#token-transfers): How issuance and transfers map to Daml choices on the ledger, how pending locks behave on accept/reject/withdraw, and how input Holdings are chosen. - [Atomic DvP Allocations & Batch Settlement (allocation · settle)](https://doc.oltenrs.dev/?lang=en#token-dvp): Bind multiple asset legs — such as securities delivery and cash payment — under one settlement ID so every leg settles simultaneously in a single transaction or none do. - [Troubleshooting & Recovery Guide](https://doc.oltenrs.dev/?lang=en#token-troubleshooting): Exact causes and remedies for connection, permission, and contract-state errors, plus how to recover cleanly when a two-transaction command stops halfway. - [token CLI Flags & JSON Output Reference](https://doc.oltenrs.dev/?lang=en#token-reference): Complete dictionary of global connection/auth flags, subcommand arguments, and --format json response keys. ### SDK, Tools & Reference - [Transaction Simulation, Cost Estimation & .simrun Viewer (oltenrs simulate)](https://doc.oltenrs.dev/?lang=en#tx-simulation): Dry-run Daml transactions locally before submitting them to the network—previewing execution outcomes, traffic byte costs, synchronizer limits, authorization failures, and party-level visibility graphs without modifying ledger state. - [Olten Studio, Read-Only MCP, Declarative Deploy & Tracing](https://doc.oltenrs.dev/?lang=en#studio-mcp-deploy): Shipped in v0.9.0: inspect live participants in a zero-dependency web UI, connect AI coding agents safely through a compile-time read-only MCP server, deploy daml.yaml projects idempotently with pinned remote DARs, guard daemon changes with Plan-Hash, and trace multi-hop transactions with pure-Rust OpenTelemetry. - [Embedded Ledger Rust SDK (CantonNodeBuilder)](https://doc.oltenrs.dev/?lang=en#sdk-exex): Embed the full Daml-LF ledger engine (ExecutionService) directly inside your host Rust process memory without spawning external servers or databases, and optionally expose a background HTTP port to connect external CLI tools. - [Privacy-Scoped Execution Extensions (CantonExEx · /_exex)](https://doc.oltenrs.dev/?lang=en#canton-exex): Stream real-time post-commit and pruning notifications into in-process Rust channels or 0600 JSONL audit files under strict party-level visibility scopes (ExExPartyScope) without stalling ledger commits. - [DAR Package Inspection, Codegen & Security Audit (dar)](https://doc.oltenrs.dev/?lang=en#dev-tools): Unified under oltenrs dar: compare compiled .dar schemas, gate zero-downtime contract upgrades, run 5-stage LF validation, generate strongly typed Rust bindings, fuzz multi-party authorization, and sign selective-disclosure audit capsules (.audit-pack). - [Daml Script, Parallel Test Runner & Daemon Audit (dar script · test · daemon audit)](https://doc.oltenrs.dev/?lang=en#script-localnet): Execute compiled Daml Script scenarios in memory or against a live participant node, and run deterministic-port CI cluster lifecycles with binary dynamic-link auditing (daemon audit). - [v0.9.0 CLI Hierarchy, Admin gRPC & Environment Variable Reference](https://doc.oltenrs.dev/?lang=en#reference): Reference for the v0.9.0 3-group 13-command CLI hierarchy and legacy alias mapping, participant control-plane Admin gRPC v30 services (--admin-port), and CANTON_RS_* environment variables that keep credentials out of process arguments. ## Ecosystem Links - Website: https://oltenrs.dev - GitHub Repository & Releases: https://github.com/cantonrs/canton-rs - Book PDF Releases (EN & KO): https://github.com/cantonrs/learn-you-some-canton/releases - Technical Book: https://learnyousomecanton.com/en/index.html