{"id":26830,"library":"chialisp-puzzles","title":"ChiaLisp Puzzles","description":"A collection of canonical puzzles (smart contracts) for the Chia blockchain, written in ChiaLisp. Version 0.1.1 is the latest. Release cadence is low; primarily updated alongside Chia protocol changes.","status":"active","version":"0.1.1","language":"python","source_language":"en","source_url":"https://github.com/Chia-Network/chialisp-puzzles","tags":["chia","blockchain","smart-contracts","chialisp","cryptocurrency"],"install":[{"cmd":"pip install chialisp-puzzles","lang":"bash","label":"Install via pip"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"load_puzzle","correct":"from chialisp_puzzles import load_puzzle"},{"note":"","symbol":"puzzle_to_curried_mod","correct":"from chialisp_puzzles.puzzles import puzzle_to_curried_mod"}],"quickstart":{"code":"from chialisp_puzzles import load_puzzle\n\n# Load the standard pay-to-puzzle-hash puzzle\npuzzle = load_puzzle('p2_puzzle_hash')\nprint(puzzle)\n","lang":"python","description":"Load a canonical puzzle by name."},"warnings":[{"fix":"Use `pip install chialisp-puzzles` and then `import chialisp_puzzles`.","message":"The package uses underscores in import paths (chialisp_puzzles) but the PyPI name uses hyphens (chialisp-puzzles). This mismatch can cause confusion.","severity":"gotcha","affected_versions":"all"},{"fix":"Refer to the official Chia documentation for the latest puzzle set.","message":"Some puzzles may be deprecated as the Chia protocol evolves. Always check the puzzle version against your Chia node version.","severity":"deprecated","affected_versions":"0.1.x"},{"fix":"Use `list_puzzles()` to enumerate available puzzles at runtime.","message":"Puzzle names may change between releases. Hardcoding puzzle names can break after updates.","severity":"gotcha","affected_versions":"0.1.x"}],"env_vars":null,"search_vec":"'0.1.1':18 'alongsid':28 'blockchain':13,33 'cadenc':23 'canon':6 'chang':31 'chia':12,29,32 'chialisp':1,16,37 'collect':4 'contract':9,36 'cryptocurr':38 'latest':21 'low':25 'primarili':26 'protocol':30 'puzzl':2,7 'releas':22 'smart':8,35 'smart-contract':34 'updat':27 'version':17 'written':14","created_at":"2026-05-01T17:43:05.818055+00:00","updated_at":"2026-05-01T17:43:05.818055+00:00","problems":[{"fix":"Use `from chialisp_puzzles import ...` (note underscores).","cause":"Package installed via pip with hyphens but imported with underscores - correct import path is with underscores.","error":"ModuleNotFoundError: No module named 'chialisp_puzzles'"},{"fix":"Use `from chialisp_puzzles import load_puzzle` (available from 0.1.0+).","cause":"The `load_puzzle` function may not be directly exposed in the top-level module in older versions.","error":"AttributeError: module 'chialisp_puzzles' has no attribute 'load_puzzle'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/chialisp-puzzles/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["database","serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-29","install_tag":null}}