| Crates.io | chia-puzzles |
| lib.rs | chia-puzzles |
| version | 0.20.3 |
| created_at | 2024-05-14 21:14:44.658549+00 |
| updated_at | 2025-10-14 12:49:03.690825+00 |
| description | Chia primitives needed for building wallets. |
| homepage | https://github.com/Chia-Network/chia_puzzles |
| repository | https://github.com/Chia-Network/chia_puzzles |
| max_upload_size | |
| id | 1240313 |
| size | 764,011 |
This is a collection of the standard Chia puzzles. These are the puzzles which are deployed on chain and therefore cannot change.
This repository tracks the source code, the compiled hex, and a hash of the compiled hex to ensure continuity.
All puzzles are kept in the puzzles folder as both a .clsp and .clsp.hex file.
The Python and Rust bindings are created by running generate_chialisp_constants.py
.clsp and .clsp.hex files into the programs folder.generate_chialisp_constants.py.generate_chialisp_constants.py.programs.py and programs.rs.This project is managed with poetry for Python and cargo for Rust.
To run the Python tests:
python -m venv venv
pip install poetry
. ./venv/bin/activate
poetry install
pytest chia_puzzles_py/tests
If you're on Windows activate the venv with . venv\Scripts\activate instead
To run the Rust tests:
cargo test --all