Skip to main content

Implementation of `klvm` for Chik Network's cryptocurrency

Project description

Rust implementation of klvm.

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 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.13.1.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.13.1-cp38-abi3-win_amd64.whl (377.7 kB view details)

Uploaded CPython 3.8+Windows x86-64

klvm_rs-0.13.1-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.13.1-cp38-abi3-manylinux_2_28_aarch64.whl (1.8 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

klvm_rs-0.13.1-cp38-abi3-macosx_13_0_x86_64.whl (428.3 kB view details)

Uploaded CPython 3.8+macOS 13.0+ x86-64

klvm_rs-0.13.1-cp38-abi3-macosx_13_0_arm64.whl (398.3 kB view details)

Uploaded CPython 3.8+macOS 13.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for klvm_rs-0.13.1.tar.gz
Algorithm Hash digest
SHA256 c0dad67fe5dc96f57a231596a9dca27112806688e3d56c8e8439e0ff96c1a581
MD5 bc64aa11bc8e918ec102153b06874532
BLAKE2b-256 38dfb4b226bc2a7545460bb9a113f2cd7e2131a3c9fe20d8b7e449d970986ff4

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.13.1.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.13.1-cp38-abi3-win_amd64.whl.

File metadata

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

File hashes

Hashes for klvm_rs-0.13.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e1151d110c3db1e90b70518d4af0819fb5e0b97272b497bbb47196ee2f55d16c
MD5 9cd4bd0ea35e3394fcd4c09e99f83f32
BLAKE2b-256 ebf86e7def6c51f5156ea29a6141a888ea3c010411c1953712a78cdf1712d19e

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.13.1-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.13.1-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.13.1-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cdd1a87dcba39af0abb0af7d31f1c85f52d35670a2107d25433305075007a0e7
MD5 2c7c3ce072971a3cb375e52a729824cc
BLAKE2b-256 7227d3c1d07c797b7c03093f0f11e0d7e2cbb9f36c0083b876c956efe2406423

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.13.1-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.13.1-cp38-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.13.1-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 be4b81370b27e6ff998963f0fade055e6879f2e409e0971158df19b851c79d93
MD5 507129a5ca8c09073964aa13f28224ec
BLAKE2b-256 f43763bd21178b94fe6a15a063bfcb5f81e9bb688dac285dad86d32f0b9500a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for klvm_rs-0.13.1-cp38-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 23ad2fae1dca3c9934ca77e4914724f1b473fc5c2e8cba22e99ebcc54e1d5198
MD5 cfbfce554a80ac54e80b52cfadd5bff4
BLAKE2b-256 35ab358757014133762915b35373a71c697200009ff38783b0ac212b70c90d45

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.13.1-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.13.1-cp38-abi3-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for klvm_rs-0.13.1-cp38-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 52c9e9b70e16664041c46f827016c630c8bac6c99623c80ebb777ba44bcedcd5
MD5 064b4e432f6ce5429158c9e4f058a86b
BLAKE2b-256 9cf89195aee10a688edcd00be76880f148d73ffe3eb2da6a8c6eda6f7738f4aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for klvm_rs-0.13.1-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