https://github.com/richardkiss/clvm_rs
Rust implementation of clvm
https://github.com/richardkiss/clvm_rs
Last synced: 24 days ago
JSON representation
Rust implementation of clvm
- Host: GitHub
- URL: https://github.com/richardkiss/clvm_rs
- Owner: richardkiss
- License: apache-2.0
- Created: 2020-11-11T19:17:19.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-20T20:33:09.000Z (10 months ago)
- Last Synced: 2025-05-12T18:13:38.393Z (5 months ago)
- Language: Rust
- Size: 5.85 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://github.com/rust-fuzz/cargo-fuzz).
Documentation for setting up fuzzing in rust can be found [here](https://rust-fuzz.github.io/book/cargo-fuzz.html).
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 see the [Bug Bounty program](https://www.chia.net/2021/10/21/bugcrowd-bounty-launch.en.html).