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.11.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.11.0-cp38-abi3-win_amd64.whl (372.5 kB view details)

Uploaded CPython 3.8+Windows x86-64

klvm_rs-0.11.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.11.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.11.0-cp38-abi3-macosx_13_0_x86_64.whl (477.5 kB view details)

Uploaded CPython 3.8+macOS 13.0+ x86-64

klvm_rs-0.11.0-cp38-abi3-macosx_13_0_arm64.whl (448.7 kB view details)

Uploaded CPython 3.8+macOS 13.0+ ARM64

File details

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

File metadata

  • Download URL: klvm_rs-0.11.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.11.0.tar.gz
Algorithm Hash digest
SHA256 c55e688be17c9f476f4c808249a2c39621f77dfb174a08fbbfccff7f7db1b013
MD5 23ddcb47267c936ec5fcbdfa03654773
BLAKE2b-256 3e5522e359a018fa84ac770798003ac0f0f08816664112574e99098586f34074

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: klvm_rs-0.11.0-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 372.5 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.11.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f3e321801e4a8317e6e5c890311c95e0b76d848f0326bef93a0f4249d2e904ba
MD5 d35e42a63c394d91f26c024835db61fc
BLAKE2b-256 c33f715e65594aef0e1dbcbee486cc1cd62068f4eb8fd3e4d482ef9335def4bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.11.0-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4bb563d156e69f32a67625d1334b9a52371cef223ea7c872adf1e3458c335e84
MD5 438cdb37663761896ab74b4407c8f422
BLAKE2b-256 4aba65127072b40ee8e82d74d924760ec5fa10aaf367e89a7401a9a43c3a69b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.11.0-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d464a8ff22b0cd729494735480b253228ed5542d1278dde2de0e25355ec70364
MD5 a054456a332a21908f2e962cbba4e0a8
BLAKE2b-256 c4b499594b1aff59e70de619c21d1b921683a10cff1d73e273d5ce09c446520b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for klvm_rs-0.11.0-cp38-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9c9b0867a6f58fbc59fe791437ac4a2d4136555eb2b7199f141205dd863199d7
MD5 998ce3312ef94ee231f70cf1e4086566
BLAKE2b-256 a1b40a28f6b1de422e2f691b2ec8cd1de618b2f5660e126f4195640455c899a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.11.0-cp38-abi3-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 618f1025c6552b89f04dee25417917b1a61fd9ebee5d85d870d7efa4094401c5
MD5 d544003bc1aab1c031ff6835d7f4cb6e
BLAKE2b-256 7b6307a7befbead3b997f4ec26770b76e03f66983cae244909b3edea49b59699

See more details on using hashes here.

Provenance

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