Skip to main content

Implementation of `klvm` for Chik Network's cryptocurrency

Project description

Rust implementation of klvm.

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 klvm_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 klvm_rs please use our bug bounty program.

Build Wheel

The klvm_rs wheel has python bindings for the rust implementation of klvm.

Use maturin to build the python interface. First, install into current virtualenv with

$ pip install maturin

While in the wheel directory, build klvm_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

klvm_rs-0.12.0.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.

klvm_rs-0.12.0-cp38-abi3-win_amd64.whl (372.6 kB view details)

Uploaded CPython 3.8+Windows x86-64

klvm_rs-0.12.0-cp38-abi3-manylinux_2_28_x86_64.whl (1.9 MB view details)

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

klvm_rs-0.12.0-cp38-abi3-manylinux_2_28_aarch64.whl (1.8 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

klvm_rs-0.12.0-cp38-abi3-macosx_13_0_x86_64.whl (477.8 kB view details)

Uploaded CPython 3.8+macOS 13.0+ x86-64

klvm_rs-0.12.0-cp38-abi3-macosx_13_0_arm64.whl (448.9 kB view details)

Uploaded CPython 3.8+macOS 13.0+ ARM64

File details

Details for the file klvm_rs-0.12.0.tar.gz.

File metadata

  • Download URL: klvm_rs-0.12.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for klvm_rs-0.12.0.tar.gz
Algorithm Hash digest
SHA256 3ce2f24ae929518f9404b2d1e4ef41af0ee6e4ecf3be3879b7868ce1485eb9dd
MD5 545c0262164a1f96314634a1ea5e364b
BLAKE2b-256 8809dbeae185b309ed455010e676e41a77fa32c792c3a1d4a6a402a01b2ae0ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.12.0.tar.gz:

Publisher: build-test.yml on Chik-Network/klvm_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 klvm_rs-0.12.0-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: klvm_rs-0.12.0-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 372.6 kB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for klvm_rs-0.12.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1f5962cc9d58b5266ab806023b4af3ee083c085b99c42ceb9dd40037278b63f2
MD5 a9bc992490ed0099b8f7186ac02377bd
BLAKE2b-256 75718efffe39f8735c80315ee4aff3ab22c55cbfcc205465315535306e7f6d44

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.12.0-cp38-abi3-win_amd64.whl:

Publisher: build-test.yml on Chik-Network/klvm_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 klvm_rs-0.12.0-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.12.0-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 937529130335abe315b99dcec120ed5e6d72a47df32e7c5061bc42b78f9faa61
MD5 e72921a84507dce4d356044b43bd4912
BLAKE2b-256 e71044a9170c6608ac3e2251f626f60d135fea6d9deca4b0124a250adc2cbe2f

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.12.0-cp38-abi3-manylinux_2_28_x86_64.whl:

Publisher: build-test.yml on Chik-Network/klvm_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 klvm_rs-0.12.0-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.12.0-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2478efba405ce07a00f23a4e963e7b0e656dbda7befd9f81a5cce36e0e5524ab
MD5 1b228ac39c5acea19f927238f853723e
BLAKE2b-256 3c0c235339771d526b025ad6a0ab9064b8e9aab582d04bf27977b68166e90a5d

See more details on using hashes here.

File details

Details for the file klvm_rs-0.12.0-cp38-abi3-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.12.0-cp38-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c7bd95bb5d8de87c3b58bd2a1de5b7cc5b86f69f10d3f457b54b9d3861a5a29d
MD5 fc60cf5ad168bcbea7b8c41e54bb6909
BLAKE2b-256 64fe22e3e3c1e68e34011aaec5866862b35b5b57bfb958e13ce88d80af37b497

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.12.0-cp38-abi3-macosx_13_0_x86_64.whl:

Publisher: build-test.yml on Chik-Network/klvm_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 klvm_rs-0.12.0-cp38-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.12.0-cp38-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 e2cc2c7b0a8087b444ec0b887305f871dd5dab1544193eb1847b1affa7a9ff25
MD5 3eb7f7e999e8aac455b5eaa102aa8293
BLAKE2b-256 f1a77b027e1aca373d889cf098a006eb4084b63a7e446a5f3ed6cee6bc19a626

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.12.0-cp38-abi3-macosx_13_0_arm64.whl:

Publisher: build-m1-wheel.yml on Chik-Network/klvm_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