{"id":13587143,"url":"https://github.com/Chia-Network/clvm_rs","last_synced_at":"2025-04-07T19:30:50.462Z","repository":{"id":38333668,"uuid":"335020641","full_name":"Chia-Network/clvm_rs","owner":"Chia-Network","description":"Rust implementation of clvm","archived":false,"fork":false,"pushed_at":"2024-10-29T13:23:41.000Z","size":6302,"stargazers_count":66,"open_issues_count":23,"forks_count":57,"subscribers_count":38,"default_branch":"main","last_synced_at":"2024-10-29T14:35:33.663Z","etag":null,"topics":["chia","chia-blockchain","chialisp"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chia-Network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-01T16:57:35.000Z","updated_at":"2024-10-29T13:23:44.000Z","dependencies_parsed_at":"2022-07-11T02:00:43.556Z","dependency_job_id":"c529d707-2497-4d50-8a11-b4ee56e82af0","html_url":"https://github.com/Chia-Network/clvm_rs","commit_stats":{"total_commits":452,"total_committers":18,"mean_commits":25.11111111111111,"dds":0.5508849557522124,"last_synced_commit":"70dac408ed17cd2113a8ec07bcb99496a9f85547"},"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chia-Network%2Fclvm_rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chia-Network%2Fclvm_rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chia-Network%2Fclvm_rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chia-Network%2Fclvm_rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chia-Network","download_url":"https://codeload.github.com/Chia-Network/clvm_rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247716104,"owners_count":20984173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chia","chia-blockchain","chialisp"],"created_at":"2024-08-01T15:06:02.721Z","updated_at":"2025-04-07T19:30:50.455Z","avatar_url":"https://github.com/Chia-Network.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"Rust implementation of clvm.\n\n![GitHub](https://img.shields.io/github/license/Chia-Network/clvm_rs?logo=Github)\n[![Coverage Status](https://coveralls.io/repos/github/Chia-Network/clvm_rs/badge.svg?branch=main)](https://coveralls.io/github/Chia-Network/clvm_rs?branch=main)\n![Build Crate](https://github.com/Chia-Network/clvm_rs/actions/workflows/build-crate.yml/badge.svg)\n![Build Wheels](https://github.com/Chia-Network/clvm_rs/actions/workflows/build-test.yml/badge.svg)\n\n![PyPI](https://img.shields.io/pypi/v/clvm_rs?logo=pypi)\n[![Crates.io](https://img.shields.io/crates/v/clvmr.svg)](https://crates.io/crates/clvmr)\n\nThe cargo workspace includes an rlib crate, for use with rust or other applications, and a python wheel.\n\nThe python wheel is in `wheel`. The npm package is in `wasm`.\n\n## Tests\n\nIn order to run the unit tests, run:\n\n```\ncargo test\n```\n\n## Fuzzing\n\nThe fuzzing infrastructure for `clvm_rs` uses [cargo-fuzz](https://github.com/rust-fuzz/cargo-fuzz).\n\nDocumentation for setting up fuzzing in rust can be found [here](https://rust-fuzz.github.io/book/cargo-fuzz.html).\n\nTo generate an initial corpus (for the `run_program` fuzzer), run:\n\n```\ncd tools\ncargo run generate-fuzz-corpus\n```\n\nTo get started, run:\n\n```\ncargo fuzz run fuzz_run_program --jobs=32 -- -rss_limit_mb=4096\n```\n\nBut with whatever number of jobs works best for you.\n\nIf you find issues in `clvm_rs` please use our [bug bounty program](https://hackerone.com/chia_network).\n\n## Build Wheel\n\nThe `clvm_rs` wheel has python bindings for the rust implementation of clvm.\n\nUse `maturin` to build the python interface. First, install into current virtualenv with\n\n```\n$ pip install maturin\n```\n\nWhile in the `wheel` directory, build `clvm_rs` into the current virtualenv with\n\n```\n$ maturin develop --release\n```\n\nOn UNIX-based platforms, you may get a speed boost on `sha256` operations by building\nwith OpenSSL.\n\n```\n$ maturin develop --release --features=openssl\n```\n\nTo build the wheel, do\n\n```\n$ maturin build --release\n```\n\nor\n\n```\n$ maturin build --release --features=openssl\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChia-Network%2Fclvm_rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FChia-Network%2Fclvm_rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChia-Network%2Fclvm_rs/lists"}