skillfed

clvm-rs

Implementation of `clvm` for Chia Network's cryptocurrency

clvm-rs v0.19.0 409.6K downloads/30d#6,870 on PyPI74
Permissive license Apache-2.0 Active released

What it is and what it does

clvm-rs is a Rust implementation of CLVM, the virtual machine that executes Chia Network's smart contracts and blockchain logic. It provides Python bindings via compiled wheels, allowing developers to run and validate Chia programs from Python without reimplementing the VM in pure Python. The package has no runtime dependencies and is built as a native extension, making it performant for cryptographic operations.

The package is actively maintained by Chia Network and includes prebuilt wheels for major platforms. It supports optional OpenSSL integration for faster SHA256 operations. Developers typically use it to interact with Chia's blockchain, validate smart contracts, or integrate Chia logic into Python applications.

Use it for:

  • Execute Chia smart contract code (clvm programs) from Python applications
  • Validate and test Chia blockchain transactions and coin spends
  • Build Chia wallet or node software that needs to run contract logic
  • Integrate Chia cryptocurrency functionality into Python services

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Rust-based implementation of the CLVM virtual machine for Chia Network, providing Python bindings to execute and validate Chia's smart contract language.

Yes, if you are building on Chia Network or need to execute Chia smart contracts from Python. The package is actively maintained, has no vulnerabilities, and offers prebuilt wheels for common platforms. Install friction is moderate due to compilation, but prebuilt binaries mitigate this for standard environments. Not relevant for non-Chia projects.

Install

clvm-rs on PyPI

pip

pip install clvm-rs

uv

uv add clvm-rs

poetry

poetry add clvm-rs

Installing clvm-rs

Before you install

Medium install friction due to compiled Rust wheels; prebuilt binaries available for common platforms (macOS arm64/x86_64, Linux x86_64/aarch64, Windows x86_64). Active maintenance with recent release 9 days old.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install clvm-rs
import clvm_rs
# Use clvm_rs to execute Chia smart contract code

Requires a compatible Python version and platform with prebuilt wheels (macOS 15.0+, manylinux_2_28, or Windows); source compilation requires Rust toolchain and maturin.

Verify before relying

  • Exact Python version support range (requires_python is unspecified in metadata)
  • Whether OpenSSL feature flag is automatically enabled or must be manually configured
  • API stability guarantees between minor versions

Package facts

License Apache-2.0 (permissive)
Python support not specified
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 9 days since the last release
Last repo commit
First released
Downloads 409,558/month — #6,870 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: clvm_rs-0.19.0-cp310-abi3-macosx_15_0_arm64.whl; clvm_rs-0.19.0-cp310-abi3-macosx_15_0_x86_64.whl; clvm_rs-0.19.0-cp310-abi3-manylinux_2_28_aarch64.whl; clvm_rs-0.19.0-cp310-abi3-manylinux_2_28_x86_64.whl; clvm_rs-0.19.0-cp310-abi3-win_amd64.whl

Tags

clvm virtual machinechia smart contractsclvm rust implementationchia blockchain vmclvm python bindings
chia-networkblockchaincryptography

More Cryptography packages