Skip to main content

A collection of the currently deployed ChikLisp puzzles.

Project description

Chik Puzzles

This is a collection of the standard Chik 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_chiklisp_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_chiklisp_constants.py.
  3. Run generate_chiklisp_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 chik_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

chik_puzzles_py-0.20.2.tar.gz (22.2 kB view details)

Uploaded Source

Built Distribution

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

chik_puzzles_py-0.20.2-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file chik_puzzles_py-0.20.2.tar.gz.

File metadata

  • Download URL: chik_puzzles_py-0.20.2.tar.gz
  • Upload date:
  • Size: 22.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for chik_puzzles_py-0.20.2.tar.gz
Algorithm Hash digest
SHA256 0f85e9f99ab75aa15b5e2c3acd5aba40a292ceef4e569b1deeaa562854a49105
MD5 f1275ffd62104328fce5847d5c5fc8db
BLAKE2b-256 0bedc80c492a46cde394ee34a5aa892254d50b09d14e5f880c0a93fa828a04ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for chik_puzzles_py-0.20.2.tar.gz:

Publisher: build-wheels.yml on Chik-Network/chik_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 chik_puzzles_py-0.20.2-py3-none-any.whl.

File metadata

File hashes

Hashes for chik_puzzles_py-0.20.2-py3-none-any.whl
Algorithm Hash digest
SHA256 42c22bfb28e79d12b2e4e670338bfd1241bc67a4f0fc3798bf826b5f8927bb5c
MD5 cccb01e0e0bb05e05bf8388b04947cb9
BLAKE2b-256 2d34e582eca021e4b16a9736e5e62293211411d874e89e99f04b032d2a8b5d9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for chik_puzzles_py-0.20.2-py3-none-any.whl:

Publisher: build-wheels.yml on Chik-Network/chik_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