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.5.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.5-cp310-abi3-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

clvm_rs-0.17.5-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.5-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.5-cp310-abi3-macosx_15_0_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.10+macOS 15.0+ x86-64

clvm_rs-0.17.5-cp310-abi3-macosx_15_0_arm64.whl (844.8 kB view details)

Uploaded CPython 3.10+macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: clvm_rs-0.17.5.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.5.tar.gz
Algorithm Hash digest
SHA256 c962eb4b4ddb263edeed996e763aeddd4714a28c05b67a0b0448b3b3266fb506
MD5 49e13d0700a08f214a73346d681dd3e5
BLAKE2b-256 15bc6a0662bd37390603e9eaea7283e3db6daa8331861c6b5c896e1b6e24de2a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: clvm_rs-0.17.5-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.5-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e5d5184719db3cf2e9da341436aa2dff68d8ef2d4aac756d8fc92603eb2c00e6
MD5 ff4e0d049628d05d5b51305162cd5007
BLAKE2b-256 647b3784fb11d174f7fc7fac9411252d740faf225452d3efece0a1ce7edfcd28

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clvm_rs-0.17.5-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 38b83f9cc642cef7c10520fca2517cff0e423e09e2d8e9267c010eaecadb402e
MD5 8443719586968616eb44c872860b0447
BLAKE2b-256 6f2d94a8c392cc4c9536b58f615515b41f54cdc5d4600bc4c84765b99857f572

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clvm_rs-0.17.5-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e48cd8fb5bad543763f4dd7c516929754f58ad486dcbdb29b5c2307849820e71
MD5 a181d22b132e86857857e7df00ff47e9
BLAKE2b-256 982401141e4fa8b241b701e5ceed3591a7eede17f1aa0e15ea2bd8d8edbf789a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clvm_rs-0.17.5-cp310-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 ab7302d8518e5edc0af3d2048190059971088ae49f9bd2ea5601d0c798292888
MD5 1c9087105780d891eb89d196e64d6553
BLAKE2b-256 300af8e731a16044dd3c048a56c7be96b7b01a0123057c61ba2d05c088619371

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clvm_rs-0.17.5-cp310-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 98b61065ee96b53c68987c2ce4aa46536d079c1486d22497ea08473cbf1546d1
MD5 4f20eeb51b3b2ea3bfd4174e7bb3aecf
BLAKE2b-256 8fb97dcb97d78de50eb87fa27443e8d9546489682e37cf0ce4973d86b6dce9e0

See more details on using hashes here.

Provenance

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