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.17.7.tar.gz (1.2 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.17.7-cp310-abi3-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

clvm_rs-0.17.7-cp310-abi3-manylinux_2_28_x86_64.whl (2.5 MB view details)

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

clvm_rs-0.17.7-cp310-abi3-manylinux_2_28_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

clvm_rs-0.17.7-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.17.7-cp310-abi3-macosx_15_0_arm64.whl (870.9 kB view details)

Uploaded CPython 3.10+macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: clvm_rs-0.17.7.tar.gz
  • Upload date:
  • Size: 1.2 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.17.7.tar.gz
Algorithm Hash digest
SHA256 9a77c8bb7af9145a064e5a2e0c01b23dd563100ff4bb41fa9470f57ace3d7d15
MD5 cd1707f63ac12e0a0b13579b02167fab
BLAKE2b-256 80e49c12b3df40f4469c8f1f3903e5cae09d74e954bafd008663efd60134cf0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.17.7.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.17.7-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: clvm_rs-0.17.7-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.0 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.17.7-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a139b2ac8500ee13f34010a6fdd176a787fb31fcd390b0b0a048bed02c18b250
MD5 0af7db7d4f40516b6dd82c33625b3c65
BLAKE2b-256 e4751d825a528f6dd14ff03dd92ea66c8f4efcf8b717621946c235ed761b97f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.17.7-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.17.7-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for clvm_rs-0.17.7-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cbf9165e09a3b838f7da05e86d4f3c9397d3b1b4af4e1196424c27342812cbd9
MD5 18a91a1caf9ea88a5df5ff645a42d95e
BLAKE2b-256 cfafdcde6b7627cc8e64865adf2bd28cd944e750fadfb802f5e03fbd554dea6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.17.7-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.17.7-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for clvm_rs-0.17.7-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 407cdee13a6699da7c740190b010f8f27c9d07eadc5ea3d0bec42d31d976fbe5
MD5 59c5db2335995f1cc83400607025845f
BLAKE2b-256 15eab87dc3fe3f30b1afc5e5c328753812c963f115184187397944aff48fa3d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.17.7-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.17.7-cp310-abi3-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for clvm_rs-0.17.7-cp310-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a631dda397e5b57eb09889a616ef771051fa3babe465a079a205e2ff00e8a33b
MD5 9bc84166af24161e4d1ba924caa26475
BLAKE2b-256 60f27024eec4244068b1c9a7b916f80708bd12c05fa390e7b3c4a3a122b8a9ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.17.7-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.17.7-cp310-abi3-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for clvm_rs-0.17.7-cp310-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1f69b48e1e0a248cd914bb2650bd5297c4debc36d55000ae63574b3d2887a647
MD5 89dffcd82416c31589f12e55f511ab84
BLAKE2b-256 aabefccbbb400f4b1e437bda420a5217ea7ee86338de97704633aaabaaf1d347

See more details on using hashes here.

Provenance

The following attestation bundles were made for clvm_rs-0.17.7-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