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 fuzz_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
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
File details
Details for the file clvm_rs-0.10.0.tar.gz
.
File metadata
- Download URL: clvm_rs-0.10.0.tar.gz
- Upload date:
- Size: 831.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b1cc6fc5c1b559970b8ea898049b0f34176a8cbb1bf6b52a8d7d2d2ee8abb5e |
|
MD5 | ba4ca9f342e72c7492a3f8e5049cba15 |
|
BLAKE2b-256 | 7ca6c1e29478150182c440891a7bdc841e080279f10d6f9a6460126fb2452c24 |
Provenance
The following attestation bundles were made for clvm_rs-0.10.0.tar.gz
:
Publisher:
build-test.yml
on Chia-Network/clvm_rs
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
clvm_rs-0.10.0.tar.gz
- Subject digest:
2b1cc6fc5c1b559970b8ea898049b0f34176a8cbb1bf6b52a8d7d2d2ee8abb5e
- Sigstore transparency entry: 147434739
- Sigstore integration time:
- Predicate type:
File details
Details for the file clvm_rs-0.10.0-cp38-abi3-win_amd64.whl
.
File metadata
- Download URL: clvm_rs-0.10.0-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 372.0 kB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2155dbacff8e5796468d85f1076c53762c272d33105adf163cb37045c4032bc |
|
MD5 | d287f300f4006c02e3f6d9da152fe78c |
|
BLAKE2b-256 | ef8fd58e473cc7a8c83c5acf594d7bad10d3e2b5169921f302b1751e88c03178 |
Provenance
The following attestation bundles were made for clvm_rs-0.10.0-cp38-abi3-win_amd64.whl
:
Publisher:
build-test.yml
on Chia-Network/clvm_rs
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
clvm_rs-0.10.0-cp38-abi3-win_amd64.whl
- Subject digest:
c2155dbacff8e5796468d85f1076c53762c272d33105adf163cb37045c4032bc
- Sigstore transparency entry: 147434743
- Sigstore integration time:
- Predicate type:
File details
Details for the file clvm_rs-0.10.0-cp38-abi3-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: clvm_rs-0.10.0-cp38-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 510.7 kB
- Tags: CPython 3.8+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc99058ba32c1e7d4cf9e7de390b58ac8593c934988b8a2ef50dbb9ee6491fe3 |
|
MD5 | f736d9b62bf530f24bee497b02f6067b |
|
BLAKE2b-256 | 2855c0d7a29e5b1159210a3ce471a3ac39af15e0a97c2885f198de4b1c79b495 |
Provenance
The following attestation bundles were made for clvm_rs-0.10.0-cp38-abi3-manylinux_2_28_x86_64.whl
:
Publisher:
build-test.yml
on Chia-Network/clvm_rs
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
clvm_rs-0.10.0-cp38-abi3-manylinux_2_28_x86_64.whl
- Subject digest:
cc99058ba32c1e7d4cf9e7de390b58ac8593c934988b8a2ef50dbb9ee6491fe3
- Sigstore transparency entry: 147434746
- Sigstore integration time:
- Predicate type:
File details
Details for the file clvm_rs-0.10.0-cp38-abi3-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: clvm_rs-0.10.0-cp38-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 492.9 kB
- Tags: CPython 3.8+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3db2c29f83b89c74616b18c4b7ee1e3e193d81e103fe71cd48fda5ecdd30f94e |
|
MD5 | fda6d1a551bee6a42875c49415eb4a18 |
|
BLAKE2b-256 | dca7ec7d29ee69fe1c09fd22fe0b79adc83d8823dc7235521202a36aa87970d6 |
Provenance
The following attestation bundles were made for clvm_rs-0.10.0-cp38-abi3-manylinux_2_28_aarch64.whl
:
Publisher:
build-arm64-wheels.yml
on Chia-Network/clvm_rs
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
clvm_rs-0.10.0-cp38-abi3-manylinux_2_28_aarch64.whl
- Subject digest:
3db2c29f83b89c74616b18c4b7ee1e3e193d81e103fe71cd48fda5ecdd30f94e
- Sigstore transparency entry: 147434479
- Sigstore integration time:
- Predicate type:
File details
Details for the file clvm_rs-0.10.0-cp38-abi3-macosx_13_0_x86_64.whl
.
File metadata
- Download URL: clvm_rs-0.10.0-cp38-abi3-macosx_13_0_x86_64.whl
- Upload date:
- Size: 477.4 kB
- Tags: CPython 3.8+, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fc17bbf71e4196d705b8087d04f97b07ecd0c10f09d7c32f632ce83bb823443 |
|
MD5 | bd43032629bbe6188c8e9c4315bd51fc |
|
BLAKE2b-256 | 5c41ef2ad0213f6a61c1203d5aabd8bf9b556b7ecb22bb6c4286d7773addd866 |
Provenance
The following attestation bundles were made for clvm_rs-0.10.0-cp38-abi3-macosx_13_0_x86_64.whl
:
Publisher:
build-test.yml
on Chia-Network/clvm_rs
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
clvm_rs-0.10.0-cp38-abi3-macosx_13_0_x86_64.whl
- Subject digest:
1fc17bbf71e4196d705b8087d04f97b07ecd0c10f09d7c32f632ce83bb823443
- Sigstore transparency entry: 147434749
- Sigstore integration time:
- Predicate type:
File details
Details for the file clvm_rs-0.10.0-cp38-abi3-macosx_13_0_arm64.whl
.
File metadata
- Download URL: clvm_rs-0.10.0-cp38-abi3-macosx_13_0_arm64.whl
- Upload date:
- Size: 447.1 kB
- Tags: CPython 3.8+, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 764429d74008433b94fd2f56759bf5fe3213391677502f5a9f2fc1d5ea11a004 |
|
MD5 | a8d69c8d74a0bf254c3a094387eb575a |
|
BLAKE2b-256 | 8430b2aef75475146f7c802a0eacf28c521c4de3064abceecfd243e9733a26d4 |
Provenance
The following attestation bundles were made for clvm_rs-0.10.0-cp38-abi3-macosx_13_0_arm64.whl
:
Publisher:
build-m1-wheel.yml
on Chia-Network/clvm_rs
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
clvm_rs-0.10.0-cp38-abi3-macosx_13_0_arm64.whl
- Subject digest:
764429d74008433b94fd2f56759bf5fe3213391677502f5a9f2fc1d5ea11a004
- Sigstore transparency entry: 147434362
- Sigstore integration time:
- Predicate type: