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

Uploaded CPython 3.10+Windows x86-64

clvm_rs-0.17.6-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.6-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.6-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.6-cp310-abi3-macosx_15_0_arm64.whl (863.2 kB view details)

Uploaded CPython 3.10+macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: clvm_rs-0.17.6.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.6.tar.gz
Algorithm Hash digest
SHA256 bc87a63da4dd44956e9673033b75a3cab7fdecc96965b0d550b4e0f0362dd84d
MD5 abe3fb6f70f436f246da0d9028f30f40
BLAKE2b-256 3f48a7a7bb55eb7cb760196be73b96fd0fb68370bd8143f6b03023f79145ac92

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: clvm_rs-0.17.6-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.6-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 90c93f54214e53f772398b1110e87c69a28662dda1bda1492d310abc0a357304
MD5 6ea218ce65a230133dbc3f6fa61aeb50
BLAKE2b-256 0e1bc9e3500e66d672a7ce3b1c3e74a5e12406b029d0fb4a23c2371e6f690bd1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clvm_rs-0.17.6-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 386b7d2bb1484971a5708f3d2a5c68a5ed47d34034e3d9d3eb39b6a8fc44efd8
MD5 8c5bbdd0555c36c0f199b10cee19a45e
BLAKE2b-256 8ee3355554978e9269bb265f3f99274bff3034a7f9f57d9b2d88c749a1e19fc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clvm_rs-0.17.6-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 24fa190854e091fb308a8e2c252c5d1962a16f289d356494740bbee1641515a6
MD5 6dcddcb0bf2342f321cf8d79c3d35f9c
BLAKE2b-256 fb89b1b936d692525930c177fcff1a1f665dd17d2fd2fedd8e1e69dc714aa39a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for clvm_rs-0.17.6-cp310-abi3-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 7b32c742e75a689cd545341dcaf76931aed3defa1ae3e991634f4ed36dff6446
MD5 6ceb14665a0b923dc234b1562f2d70f2
BLAKE2b-256 a75ff0806a764ff5371f4a54cf207b430c9a459fde5d7c227d966db9b5cb47f2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for clvm_rs-0.17.6-cp310-abi3-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 08703488082a62942760cda31bef76ed31da653deee347af3d724fb81952695a
MD5 62c8875f1444888654dc5fa588ba885f
BLAKE2b-256 7a4eca496ecdec58ffeea919be9d9faaa5919784f5e991f07a1c7a29ae884bb0

See more details on using hashes here.

Provenance

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