Skip to content

Documentation

Animica reference documentation: consensus (PoIES), transaction signing, the Python VM and its tutorials, the L2 rollup, AICF compute, wallets, mining, and the Ethereum/Bitcoin RPC compatibility layers.

/

Animica is an open-source proof-of-work Layer-1 (chain id 1) with ML-DSA-65 post-quantum signatures, bech32m anim1… addresses, deterministic Python-VM contracts, PoIES consensus, an ANM-native Layer-2 rollup and an off-chain AI-compute layer (AICF). This section collects 51 reference pages (70k words) mirrored from the repository documentation , plus four hand-written guides. Each mirrored page links to its source file; when they disagree, the repository wins. If you are new, the Learn section explains the same material from the ground up.

Install

pip install animica — the complete client. Everything to mine, run a node, use the wallet, deploy Python contracts, run animica up (the unified miner: PoW + useful-work + GPU train/serve + Studio functions), and use the Studio SDK. The native CPU miner (animica-fastpow) is included by default. This is what most people want.

pip install "animica[all]" — everything above plus every optional extra: Qt desktop-wallet QR codes, the full distributed Studio client (cloudpickle for closures + omni-sdk for on-chain ANM escrow), and all server/operator dependencies pinned. Use it if you want the kitchen sink or are running pool/API infrastructure.

Quote the extras form as pip install "animica[all]" (with quotes) so zsh/macOS does not glob the brackets. Public RPC: POST https://rpc.animica.org/rpc (the /rpc path is required).

Guides

Hand-written pages for the most common integrations.

Getting started

The current state of the network, the CLI, the transaction workflow, and what to do when something does not work.

Protocol

Consensus and difficulty, canonical transaction signing, the HD wallet derivation standard, and the peer-to-peer layer.

Smart contracts (Python VM)

The deterministic Python VM: architecture, gas, the sandbox, host capabilities, the ABI, the compiler, patterns, examples, and debugging.

VM(Py) Overview — Deterministic Python Subset & Runtime Architecture

Architecture of the deterministic Python VM: the safe Python subset, compilation to IR, the gas-metered interpreter, and how contracts interact with state and host capabilities.

VM(Py) Gas Model — Metering, Memory/IO, Op Caps

How execution is metered: opcode costs from the gas table, memory and I/O charges, per-operation caps, and what contract authors should budget for.

VM(Py) Sandbox — Forbidding Nondeterminism & Allowed Libraries

What the VM forbids to guarantee determinism (I/O, clocks, floats, ambient randomness) and which stdlib modules contracts may import.

VM(Py) Contract Capabilities — Syscalls (AI / Quantum / DA / Random / ZK)

The host syscalls contracts can call for AI jobs, quantum randomness, data availability and the randomness beacon, with their determinism and gas rules.

VM(Py) ABI — Call/Data Encoding & Event Topics

The canonical byte encoding for function calls, return values and event topics, so SDKs and nodes agree on every contract interaction.

VM(Py) Compiler — AST → IR → Bytecode, Static Gas Estimation

How contract source becomes bytecode: validation, AST-to-IR lowering, type checks, encoding, and static gas estimation.

Contract Patterns (VM(Py))

Recommended contract patterns for upgrades, proxy pinning, access control and pausability in the deterministic Python VM.

VM(Py) Contract Examples

Annotated example contracts (Counter, Escrow, Token, AI Agent, Quantum RNG) written in the deterministic Python subset with the provided stdlib.

Debugging Contracts on VM(Py)

Strategies for tracing contract execution: structured logs, receipts, gas reports, and how to reproduce a failing call locally.

Tutorials

End-to-end walkthroughs: deploy a counter, write a token and an escrow, build an indexer, use AI, DA and randomness syscalls, run a GPU provider.

Layer 2 rollup

The ANM-native Layer 2 payment rollup shipped in 10.0.0: architecture, lifecycle, fees, data availability, forced exits, security assumptions, and operations.

AICF and compute

The AI Compute Fund: how jobs are funded, requested, executed, verified and paid, plus provider onboarding, SLAs, and the platform threat model.

Wallets

Recovery, day-to-day security, hardware-backed keys, and the address book for the extension, mobile and desktop wallets.

Mining

Running the miner from source against a local node and fixing the most common mining problems.

Compatibility and payments

Repository references for the Ethereum and Bitcoin RPC compatibility modes and the complete x402 agent-payments reference.

Can’t find what you’re looking for? Browse the full docs tree on GitHub , read the machine-readable API description at rpc.animica.org/openrpc.json , open an issue on GitHub , or become a compute provider via /providers .