Skip to main content

Animica node — slim, no-GPU runtime: run a full node + JSON-RPC (native + Bitcoin- and Ethereum-compatible). Built for exchanges and infrastructure operators.

Project description

animica-node

Slim, GPU-free Animica node. Run a full node and JSON-RPC endpoint — native, Bitcoin-Core-compatible, and Ethereum-compatible — with none of the torch/transformers/CUDA footprint of the full animica client.

Built for exchanges and infrastructure operators who just need to sync the chain and serve RPC for deposits, withdrawals, and balance queries.

What's different from animica

pip install animica pip install animica-node
Node + JSON-RPC
Bitcoin / Ethereum RPC compat
Wallet, contracts, CLI — (use RPC)
Mining, useful-work, Studio
GPU/AI stack (torch, transformers, CUDA) ✓ (bundled) none

animica-node ships the same node runtime as animica (same chain, consensus, p2p, mempool, DA, VM, post-quantum crypto), just with the AI/GPU dependencies removed. Install one or the other on a box, not both (they share the same top-level runtime modules).

Install & run

pip install animica-node
animica-node            # starts a mainnet node + RPC on 127.0.0.1:8545

Or the module form (identical): python -m rpc.

Configure (environment variables)

ANIMICA_NETWORK=mainnet        # network to join
ANIMICA_DATA_DIR=/data         # data directory
ANIMICA_RPC_HOST=0.0.0.0       # bind host (0.0.0.0 to expose)
ANIMICA_RPC_PORT=8545          # bind port
ANIMICA_P2P_ENABLE=true        # join the p2p network
ANIMICA_LOG_LEVEL=INFO

JSON-RPC endpoints

POST /rpc   native:   state.* chain.* tx.* mempool.* p2p.* node.*
POST /      Bitcoin:  getblockchaininfo, getrawtransaction, sendrawtransaction, …
POST /      Ethereum: eth_chainId, eth_blockNumber, eth_getBalance, …  (chain id 149)
# native — balance for an exchange deposit address
curl -s localhost:8545/rpc -d '{"jsonrpc":"2.0","id":1,"method":"state.getBalance","params":["anim1..."]}'
# Ethereum-compatible
curl -s localhost:8545/   -d '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'
# Bitcoin-compatible
curl -s localhost:8545/   -d '{"jsonrpc":"2.0","id":1,"method":"getblockchaininfo","params":[]}'

Docs

Apache-2.0 · https://github.com/animicaorg/all

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

animica_node-4.0.1.tar.gz (2.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

animica_node-4.0.1-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file animica_node-4.0.1.tar.gz.

File metadata

  • Download URL: animica_node-4.0.1.tar.gz
  • Upload date:
  • Size: 2.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for animica_node-4.0.1.tar.gz
Algorithm Hash digest
SHA256 ce7d1efa188c8b5fab53d96ec52f4ebe083f0d4ffa29c43065c42217b517b6c6
MD5 e40242408833f10f57f0c6d7a12a58a3
BLAKE2b-256 c08b1be0d1804cf5085b9a56be4fb2ad629e308e5952de451477bcd910aaf541

See more details on using hashes here.

File details

Details for the file animica_node-4.0.1-py3-none-any.whl.

File metadata

  • Download URL: animica_node-4.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for animica_node-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a98516f4190bb254868947f70bb42f3204b015884b4cbf0f8f7a138fcf9b441
MD5 b8fb26ed17d81e52c0de27f58ad73753
BLAKE2b-256 661eebe7dd51541c9dbb4004844f9072eb188b79eb4bb5e360b6548db3d6b536

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page