Skip to main content

A collection of the currently deployed ChiaLisp puzzles.

Project description

Chia Puzzles

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

Adding Bindings for a New Puzzle

  1. Add the .clsp and .clsp.hex files into the programs folder.
  2. Add the puzzle name, path, and shatree hash into the list in generate_chialisp_constants.py.
  3. Run generate_chialisp_constants.py.
  4. Commit your changes, including to the outputted programs.py and programs.rs.

Testing

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

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

chia_puzzles_py-0.19.4.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chia_puzzles_py-0.19.4-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file chia_puzzles_py-0.19.4.tar.gz.

File metadata

  • Download URL: chia_puzzles_py-0.19.4.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for chia_puzzles_py-0.19.4.tar.gz
Algorithm Hash digest
SHA256 ec4da3a95918e5d4f923784a660c2bf012e3a9433f2e33ddd7dec5d83b069f8e
MD5 899bd7ae2a437aa75ab8b918b8bdaab2
BLAKE2b-256 cf2e3079dc8a7df2ea8e05c92231435d2a41113277e1c88d1fef147c58ffe73d

See more details on using hashes here.

Provenance

The following attestation bundles were made for chia_puzzles_py-0.19.4.tar.gz:

Publisher: build-wheels.yml on Chia-Network/chia_puzzles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chia_puzzles_py-0.19.4-py3-none-any.whl.

File metadata

File hashes

Hashes for chia_puzzles_py-0.19.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4e885944d752e661aaf2fa43b8b8a0aac2b7c291abdec09d0e3f859abd2fd59a
MD5 37b2379209f213f2dfa48c70b7dd473e
BLAKE2b-256 206791905a5602b2f1243559a321b6817d1fdbbe0d00edd1854f2880fb846d0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for chia_puzzles_py-0.19.4-py3-none-any.whl:

Publisher: build-wheels.yml on Chia-Network/chia_puzzles

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