Skip to main content

Animica blockchain CLI and client libraries — node, wallet, miner, contracts, and useful-work jobs.

Project description

Animica Python toolbox

This directory packages the Python utilities that live under animica/, including data-availability helpers, mempool policy tests, and the stratum pool prototype. Installing it as a Python package allows tools and tests elsewhere in the repo to import animica modules directly.

Mine & earn

pip install animica

# CPU: dual-mine ANM + Monero on pool.animica.org with one command
animica miner dual-mine <anm-address> --pool-host pool.animica.org

# GPU: earn TAO by backing Animica Pool's Bittensor SN51 (Celium) miner —
# the pool splits on-chain earnings 70/30 with rig owners, paid in
# ANM/XMR/SOL/BTC/USDT. Token comes from https://pool.animica.org/workers.
animica bittensor overview                       # pool status (no token)
animica bittensor status --token anm_worker_…    # this rig: eligibility
animica bittensor enroll --token anm_worker_…    # join the GPU pool
animica bittensor up     --token anm_worker_…    # install the SN51 executor

Rigs need uptime history before they can enroll (default: 97% over 7 days, ≥16 GB VRAM) because Bittensor slashes collateral for flaky hardware — install the worker agent from the Workers page and keep it heartbeating. Full details: https://pool.animica.org/bittensor

Installation

From the repository root you can install the package in editable mode:

python -m pip install -e "python[operator,dev]"

Optional extras

  • Base package: now includes the backend runtime dependencies required by rpc.server, the ENA node, and the Stratum pool (fastapi, uvicorn[standard], prometheus-client).
  • backend, ena, stratum, operator: compatibility aliases kept for operator/install scripts and older docs. They resolve to the same runtime dependency set as the base package.
  • dev: pytest, mypy, ruff, respx, and other local development tools.

Example with extras:

python -m pip install -e "python[stratum,dev]"

Stratum pool runtime

Preferred operator path:

animica stratum up --daemon --profile asic_sha256 --rpc-url http://127.0.0.1:8545/rpc
animica stratum status
animica stratum down

Lower-level entrypoint:

python -m animica.stratum_pool --profile asic_sha256

Validation helpers

The repo now ships executable smoke helpers for the repaired setup/runtime path:

./scripts/smoke_backend_imports.sh
./scripts/smoke_ena.sh
./scripts/smoke_stratum.sh
./scripts/smoke_setup_install.sh

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

animica-0.4.7.tar.gz (7.4 MB view details)

Uploaded Source

Built Distribution

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

animica-0.4.7-py3-none-any.whl (8.3 MB view details)

Uploaded Python 3

File details

Details for the file animica-0.4.7.tar.gz.

File metadata

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

File hashes

Hashes for animica-0.4.7.tar.gz
Algorithm Hash digest
SHA256 b124744dcee117fc5d52133a77640d76d55bd344a798b0185d698f77cfd73969
MD5 eba3940cf88474edcf4d7fed0958c0b3
BLAKE2b-256 fcd4607f84f3cf5efaafaa6556aad72f838fd0aff2f519a7eda417bba05d42f1

See more details on using hashes here.

File details

Details for the file animica-0.4.7-py3-none-any.whl.

File metadata

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

File hashes

Hashes for animica-0.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c3922b2ec3745255d451f662bf8776e0ae0b5e017b2631e08e6e7ed259f2f264
MD5 7448daa97140846e2f354a736f0e41d0
BLAKE2b-256 a00da0c591b9c989cdb328ea839d7a6d74eeda6cdb09cef9e8ec30c2a40e4ee4

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