Skip to main content

Implementation of `clvm` for Chia Network's cryptocurrency

Project description

Rust implementation of clvm.

GitHub Coverage Status Build Crate Build Wheels

PyPI Crates.io

The cargo workspace includes an rlib crate, for use with rust or other applications, and a python wheel.

The python wheel is in wheel. The npm package is in wasm.

Tests

In order to run the unit tests, run:

cargo test

Fuzzing

The fuzzing infrastructure for clvm_rs uses cargo-fuzz.

Documentation for setting up fuzzing in rust can be found here.

To get started, run:

cargo fuzz run run-program --jobs=32 -- -rss_limit_mb=4096

But with whatever number of jobs works best for you.

If you find issues in clvm_rs please use our bug bounty program.

Build Wheel

The clvm_rs wheel has python bindings for the rust implementation of clvm.

Use maturin to build the python interface. First, install into current virtualenv with

$ pip install maturin

While in the wheel directory, build clvm_rs into the current virtualenv with

$ maturin develop --release

On UNIX-based platforms, you may get a speed boost on sha256 operations by building with OpenSSL.

$ maturin develop --release --features=openssl

To build the wheel, do

$ maturin build --release

or

$ maturin build --release --features=openssl

Bumping Version Number

Make sure you have cargo-workspaces installed:

cargo install cargo-workspaces

To bump the versions of all relevant crates:

cargo ws version --force "**" --all --no-git-commit

Select "minor update" if there has not been any incompatible API changes, otherwise "major update".

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

clvm_rs-0.18.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distributions

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

clvm_rs-0.18.0-cp310-abi3-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

clvm_rs-0.18.0-cp310-abi3-manylinux_2_28_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

clvm_rs-0.18.0-cp310-abi3-manylinux_2_28_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

clvm_rs-0.18.0-cp310-abi3-macosx_15_0_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10+macOS 15.0+ x86-64

clvm_rs-0.18.0-cp310-abi3-macosx_15_0_arm64.whl (934.0 kB view details)

Uploaded CPython 3.10+macOS 15.0+ ARM64

File details

Details for the file clvm_rs-0.18.0.tar.gz.

File metadata

  • Download URL: clvm_rs-0.18.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for clvm_rs-0.18.0.tar.gz
Algorithm Hash digest
SHA256 3a91bbf9ee8cc080b1b748ebf8efbdabb7b076487eab965cfd006757e116c51b
MD5 0c523f626667da60b6e393de35447b65
BLAKE2b-256 16fde7117edbbd937724742260a62075d8116545880e100f377a10cccbdb8d6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.18.0.tar.gz:

Publisher: build-test.yml on Chia-Network/clvm_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clvm_rs-0.18.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: clvm_rs-0.18.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for clvm_rs-0.18.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ddcf7070c4f7168689036cbc0bfd6eb89dd73c1ad82829b3233884df4020ee7b
MD5 385c390ad00c257a0c7d8edf6998665b
BLAKE2b-256 08ac8ef8b630676a2a962e7978678d7b7aae4b32ad51f996065b050fe811d08c

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.18.0-cp310-abi3-win_amd64.whl:

Publisher: build-test.yml on Chia-Network/clvm_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clvm_rs-0.18.0-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clvm_rs-0.18.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e5c95e25bf53b632780520350d5f81cb9804643ddeafd5069f20b3f414878329
MD5 d4d5576655ed2fd68ac0bc17b37b8139
BLAKE2b-256 1f878360174016ed56d9dc369d0fd5319dccbc5c7cff0382749e489d440201dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.18.0-cp310-abi3-manylinux_2_28_x86_64.whl:

Publisher: build-test.yml on Chia-Network/clvm_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clvm_rs-0.18.0-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for clvm_rs-0.18.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4df003ab4395a16fae0d91f65c6ef8cb5b89df8eb9127f2a7b898d3077cb907b
MD5 5e7029d691ec1c0e0e33c25bc1997d98
BLAKE2b-256 4ea5fa3be6ecb74fa88ff4e40a860245f05f02cc567b3db88ed6c96c4eeb024e

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.18.0-cp310-abi3-manylinux_2_28_aarch64.whl:

Publisher: build-arm64-wheels.yml on Chia-Network/clvm_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clvm_rs-0.18.0-cp310-abi3-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for clvm_rs-0.18.0-cp310-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 c1c97b99150524fa528046df563274b2d6836d24315e8958fbf5c56c671fd483
MD5 1c80139c16167906115626d076b4c5ea
BLAKE2b-256 4c27229ea3b984b6be230082f4ac992b4a129359d038e22342fb23eb21435190

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.18.0-cp310-abi3-macosx_15_0_x86_64.whl:

Publisher: build-test.yml on Chia-Network/clvm_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file clvm_rs-0.18.0-cp310-abi3-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for clvm_rs-0.18.0-cp310-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1e368bbf1d99d9ed79881186d634ac27a68ae2b94f86e446515c8e646e04f16e
MD5 c2323ebfa2361b692a77abb7921146ab
BLAKE2b-256 27e18c11959e5d69449bc3d926b0963d7b653418c4344a06b0a244f0bb64c72f

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.18.0-cp310-abi3-macosx_15_0_arm64.whl:

Publisher: build-m1-wheel.yml on Chia-Network/clvm_rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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