chia-puzzles-py
A collection of the currently deployed ChiaLisp puzzles.
What it is and what it does
chia-puzzles-py is a Python library that exposes the standard Chia puzzles—the immutable ChiaLisp programs deployed on the Chia blockchain—as Python constants and bindings. It tracks the source code (.clsp files), compiled hex representations (.clsp.hex files), and cryptographic hashes to ensure integrity and continuity of these critical blockchain components. The puzzles are generated from a source repository and cannot change once deployed on chain, so this library serves as a stable reference implementation.
The package is primarily used by Chia ecosystem developers who need to interact with or verify these standard puzzles programmatically. It depends on clvm-rs and clvm-tools-rs for ChiaLisp compilation and execution, and pytest for testing. The library is maintained as a pure Python wheel with no compiled extensions of its own, making installation straightforward on supported Python versions (3.8 through 3.14).
Use it for:
- Reference the compiled hex and hash of standard Chia puzzles in blockchain transaction validation or wallet software.
- Verify puzzle integrity by comparing computed hashes against the bundled constants.
- Develop Chia smart contracts or dApps that need to interact with or call standard puzzles.
- Test ChiaLisp puzzle implementations against the canonical on-chain versions.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to the standard Chia puzzles—the on-chain ChiaLisp programs deployed in the Chia blockchain—with compiled hex representations and hash verification.
Yes, if you are developing on the Chia blockchain and need access to the standard puzzle definitions and their compiled forms. No, if you are not working with Chia or do not need to reference these specific puzzles. Caveat: verify the license terms before use, as they are not clearly stated in the package metadata; also note that the package is aging (304 days since last release) and may not receive updates for new puzzle deployments.
Install
chia-puzzles-py on PyPI
pip
pip install chia-puzzles-pyuv
uv add chia-puzzles-pypoetry
poetry add chia-puzzles-pyInstalling chia-puzzles-py
Before you install
Low install friction; pure Python wheel with three runtime dependencies (clvm-rs, clvm-tools-rs, pytest). Package is aging—last release was 304 days ago—so expect no active maintenance or rapid updates.
License in practice
License status is unclear; no SPDX identifier or raw license text is recorded. Verify the actual license terms before using in production or redistribution.
Quickstart
pip install chia-puzzles-py
from chia_puzzles_py import programs
# Access compiled puzzle hex and hash constants
puzzle_hex = programs.PUZZLE_NAME # e.g., standard_coin_clsp_hex
Requires Python 3.8 or later. Depends on clvm-rs and clvm-tools-rs, which may require a Rust toolchain or prebuilt binaries for your platform.
Verify before relying
- Whether the package is actively maintained or if it tracks a frozen set of puzzles only.
- Exact license terms and any redistribution constraints for the on-chain puzzle code.
- Whether pytest is a runtime dependency or only a dev/test dependency.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (<4.0,>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — clvm-rs, clvm-tools-rs, pytest |
| Maintenance | aging — 304 days since the last release |
| First released | |
| Downloads | 106,749/month — #12,642 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: chia_puzzles_py-0.20.3-py3-none-any.whl
Tags
More Cryptography packages
Certifi provides Mozilla's curated collection…
copyleft · top 100 on PyPI
cryptographycryptography provides cryptographic recipes and…
permissive · top 100 on PyPI
rsaPure-Python RSA encryption, decryption,…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
azure-identityProvides Microsoft Entra ID token-based…
unclear · top 1,000 on PyPI
PyNaClPyNaCl provides Python bindings to libsodium…
permissive · top 1,000 on PyPI
chia-baseProvides base data types and utilities for Chia…
permissive · top 15,000 on PyPI
chialisp-puzzlesLoads and provides access to standard and…
unclear · top 15,000 on PyPI
hsmsProvides command-line tools to simulate a…
permissive · top 15,000 on PyPI
chia-rsProvides Python bindings to Rust crates for…
unclear · top 15,000 on PyPI
chiaposPython bindings for Chia's proof-of-space…
permissive · top 15,000 on PyPI
clvm-tools-rsCompiles and executes Chialisp programs to CLVM…
permissive · top 15,000 on PyPI
chialisp-loaderLoads compiled Chialisp programs (`.hex` files)…
unclear · top 15,000 on PyPI
advent-of-codeProvides pre-computed solutions to Advent of…
unclear · top 15,000 on PyPI
chiabip158Implements the BIP 158 compact block filter…
permissive · top 15,000 on PyPI
clvm-rsRust-based implementation of the CLVM virtual…
permissive · top 15,000 on PyPI