Implementation of `clvm` for Chia Network's cryptocurrency
Project description
Rust implementation of clvm.
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 generate an initial corpus (for the run_program fuzzer), run:
cd tools
cargo run generate-fuzz-corpus
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clvm_rs-0.17.0.tar.gz.
File metadata
- Download URL: clvm_rs-0.17.0.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c89285119a0d664ad7108b8bbc1d41e5c458e4fb5ca02bccad3753684db93591
|
|
| MD5 |
55f90a0e4cdac5c2c6f0aff38511e275
|
|
| BLAKE2b-256 |
50d2db97034b24ea1fba4a621e28e09bb6cf10c8fe121e5e8cdc813175e7adda
|
Provenance
The following attestation bundles were made for clvm_rs-0.17.0.tar.gz:
Publisher:
build-test.yml on Chia-Network/clvm_rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clvm_rs-0.17.0.tar.gz -
Subject digest:
c89285119a0d664ad7108b8bbc1d41e5c458e4fb5ca02bccad3753684db93591 - Sigstore transparency entry: 954470710
- Sigstore integration time:
-
Permalink:
Chia-Network/clvm_rs@3e36cf7b34ce5d2b493144613d5b6fa511e11bb4 -
Branch / Tag:
refs/tags/0.17.0 - Owner: https://github.com/Chia-Network
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-test.yml@3e36cf7b34ce5d2b493144613d5b6fa511e11bb4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file clvm_rs-0.17.0-cp38-abi3-win_amd64.whl.
File metadata
- Download URL: clvm_rs-0.17.0-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 389.7 kB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e433835715ee03a2a5988bf444fd1b54ef6092d2173024968cda921a3b21fd4
|
|
| MD5 |
a62bb6ea4b09f0f9e7dd3ea5ecef954a
|
|
| BLAKE2b-256 |
70c71dc96a65650f13e4412b9abe6b09c9ab538d15f2b41e4a0ae1431ea7cc6a
|
Provenance
The following attestation bundles were made for clvm_rs-0.17.0-cp38-abi3-win_amd64.whl:
Publisher:
build-test.yml on Chia-Network/clvm_rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clvm_rs-0.17.0-cp38-abi3-win_amd64.whl -
Subject digest:
9e433835715ee03a2a5988bf444fd1b54ef6092d2173024968cda921a3b21fd4 - Sigstore transparency entry: 954470718
- Sigstore integration time:
-
Permalink:
Chia-Network/clvm_rs@3e36cf7b34ce5d2b493144613d5b6fa511e11bb4 -
Branch / Tag:
refs/tags/0.17.0 - Owner: https://github.com/Chia-Network
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-test.yml@3e36cf7b34ce5d2b493144613d5b6fa511e11bb4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file clvm_rs-0.17.0-cp38-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: clvm_rs-0.17.0-cp38-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: CPython 3.8+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26d8902020c01959cfb229097511a8b11f871e91e7a94ef7dfe2c016636cd66e
|
|
| MD5 |
3786d00145eca8d7ea9e304205c85f9e
|
|
| BLAKE2b-256 |
d1ec80d269a9427bb11ef419a39bcafca401eaef402fddc28348ddb1a452de64
|
Provenance
The following attestation bundles were made for clvm_rs-0.17.0-cp38-abi3-manylinux_2_28_x86_64.whl:
Publisher:
build-test.yml on Chia-Network/clvm_rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clvm_rs-0.17.0-cp38-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
26d8902020c01959cfb229097511a8b11f871e91e7a94ef7dfe2c016636cd66e - Sigstore transparency entry: 954470716
- Sigstore integration time:
-
Permalink:
Chia-Network/clvm_rs@3e36cf7b34ce5d2b493144613d5b6fa511e11bb4 -
Branch / Tag:
refs/tags/0.17.0 - Owner: https://github.com/Chia-Network
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-test.yml@3e36cf7b34ce5d2b493144613d5b6fa511e11bb4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file clvm_rs-0.17.0-cp38-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: clvm_rs-0.17.0-cp38-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 1.8 MB
- Tags: CPython 3.8+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d69aa9faebb04ce760ec1ca48677603bc6c099208ea8bd245dc81a14a1c50e5
|
|
| MD5 |
c365b93717d250d892640eca1e202cc7
|
|
| BLAKE2b-256 |
4138d4f7718586094bce0f28b75358bdea1671422cd3fc2621be87675a2e5797
|
Provenance
The following attestation bundles were made for clvm_rs-0.17.0-cp38-abi3-manylinux_2_28_aarch64.whl:
Publisher:
build-arm64-wheels.yml on Chia-Network/clvm_rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clvm_rs-0.17.0-cp38-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
7d69aa9faebb04ce760ec1ca48677603bc6c099208ea8bd245dc81a14a1c50e5 - Sigstore transparency entry: 954470233
- Sigstore integration time:
-
Permalink:
Chia-Network/clvm_rs@3e36cf7b34ce5d2b493144613d5b6fa511e11bb4 -
Branch / Tag:
refs/tags/0.17.0 - Owner: https://github.com/Chia-Network
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
build-arm64-wheels.yml@3e36cf7b34ce5d2b493144613d5b6fa511e11bb4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file clvm_rs-0.17.0-cp38-abi3-macosx_13_0_x86_64.whl.
File metadata
- Download URL: clvm_rs-0.17.0-cp38-abi3-macosx_13_0_x86_64.whl
- Upload date:
- Size: 446.5 kB
- Tags: CPython 3.8+, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79834f363bc3e30be59212f72f3c2d5d34de37691872d222a31ad87d22e4d844
|
|
| MD5 |
fba3673da4ccb44e0e843307dbc47fb1
|
|
| BLAKE2b-256 |
964b06fc1e6547f23b28451d048f03b4eacc2bb6a72bf81c8b66ec067bb5f9bf
|
Provenance
The following attestation bundles were made for clvm_rs-0.17.0-cp38-abi3-macosx_13_0_x86_64.whl:
Publisher:
build-test.yml on Chia-Network/clvm_rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clvm_rs-0.17.0-cp38-abi3-macosx_13_0_x86_64.whl -
Subject digest:
79834f363bc3e30be59212f72f3c2d5d34de37691872d222a31ad87d22e4d844 - Sigstore transparency entry: 954470713
- Sigstore integration time:
-
Permalink:
Chia-Network/clvm_rs@3e36cf7b34ce5d2b493144613d5b6fa511e11bb4 -
Branch / Tag:
refs/tags/0.17.0 - Owner: https://github.com/Chia-Network
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-test.yml@3e36cf7b34ce5d2b493144613d5b6fa511e11bb4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file clvm_rs-0.17.0-cp38-abi3-macosx_13_0_arm64.whl.
File metadata
- Download URL: clvm_rs-0.17.0-cp38-abi3-macosx_13_0_arm64.whl
- Upload date:
- Size: 421.1 kB
- Tags: CPython 3.8+, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9f7f7a07445df88f62e3190d74ccdbf78f02f035801a488641d8287cf211bcb
|
|
| MD5 |
26aeb6fafbb0db7d34543f5b8e73b8ab
|
|
| BLAKE2b-256 |
d30d44cbd42cc2df6aac79a3fd17c571301e5bdefcd7541eedb7d3b686b0a216
|
Provenance
The following attestation bundles were made for clvm_rs-0.17.0-cp38-abi3-macosx_13_0_arm64.whl:
Publisher:
build-m1-wheel.yml on Chia-Network/clvm_rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clvm_rs-0.17.0-cp38-abi3-macosx_13_0_arm64.whl -
Subject digest:
d9f7f7a07445df88f62e3190d74ccdbf78f02f035801a488641d8287cf211bcb - Sigstore transparency entry: 954470224
- Sigstore integration time:
-
Permalink:
Chia-Network/clvm_rs@3e36cf7b34ce5d2b493144613d5b6fa511e11bb4 -
Branch / Tag:
refs/tags/0.17.0 - Owner: https://github.com/Chia-Network
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-m1-wheel.yml@3e36cf7b34ce5d2b493144613d5b6fa511e11bb4 -
Trigger Event:
push
-
Statement type: