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.10.0.tar.gz (829.1 kB 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.10.0-cp38-abi3-win_amd64.whl (372.1 kB view details)

Uploaded CPython 3.8+Windows x86-64

klvm_rs-0.10.0-cp38-abi3-manylinux_2_28_x86_64.whl (517.6 kB view details)

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

klvm_rs-0.10.0-cp38-abi3-manylinux_2_28_aarch64.whl (500.5 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ ARM64

klvm_rs-0.10.0-cp38-abi3-macosx_13_0_x86_64.whl (485.4 kB view details)

Uploaded CPython 3.8+macOS 13.0+ x86-64

File details

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

File metadata

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

File hashes

Hashes for klvm_rs-0.10.0.tar.gz
Algorithm Hash digest
SHA256 ac81cff58ebc23a156cab495eeb8d978f359e2fec5b2dab96014ef82f0ab6775
MD5 4b5c817753dc5a8c111044913ee43a57
BLAKE2b-256 836b54215338a0536d7d3a47574b64c6f42ad7a6dbf309b37e29c2592fc7cb7f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: klvm_rs-0.10.0-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 372.1 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.10.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 14903c252a29b44a43394deb74e41c1b97193a20be6616530f2ea34a26adb642
MD5 a7ebce34b26a2b04517cca13a5bd5ce8
BLAKE2b-256 ad04d10f60a21135c467f4b7b21c0b892f2ad5d7c4c9d659a7ca1fc9e77d01dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.10.0-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d3a3d735b519f34f7bc0e3986d7407879bb50e5fafd939f90ad28cc6b22169ca
MD5 ab82ad79786a0820ff6c4920bd86f072
BLAKE2b-256 3e37f252dfab24ed79f67d2b7a611efce9ded2ffd8aa670f2a389777f0602ef5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for klvm_rs-0.10.0-cp38-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3b8636718e4a295229f78e6f6cd46a6aa95b2e0c17748ade735ce14f6a1413b7
MD5 ff7b4241d56193963d7e54e75d8b9631
BLAKE2b-256 6a15459f0f324c8b67b235ce943e0de8e6e1f95a66b15ef925badb403d4b72d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for klvm_rs-0.10.0-cp38-abi3-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d13e1f07a98385ab4c2febe1421954fd1f6f91f46e8106aadadcce974ef5353b
MD5 34333b0e05c271a766e7d5aebc53d933
BLAKE2b-256 cb94dc974478ed330498a2d78e1580e0ff517dec56ed59f09907238fe104d9c1

See more details on using hashes here.

Provenance

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

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