Crates.io | chik-puzzles |
lib.rs | chik-puzzles |
version | |
source | src |
created_at | 2024-05-16 03:33:26.398396+00 |
updated_at | 2025-02-06 12:56:29.790091+00 |
description | Chik primitives needed for building wallets. |
homepage | https://github.com/Chik-Network/chik_puzzles |
repository | https://github.com/Chik-Network/chik_puzzles |
max_upload_size | |
id | 1241746 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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
.clsp
and .clsp.hex
files into the programs
folder.generate_chiklisp_constants.py
.generate_chiklisp_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 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