Simplest puzzles for testing

From mojo_puzzler
Revision as of 02:07, 18 November 2023 by Gneale (talk | contribs) (Created page with "===== Return to: Insightful Comments ===== <h2>Example 1</h2>keybase://chat/chia_network.public#chialisp/6836 Q: Is it the case that a coin locked with the puzzle '()' can be spent always? Or should it be '(1)'? A: The puzzle can actually just be `1` yes which just returns whatever you pass in the solution. We use it a lot for testing. <h2>Example 2</h2> <code>(mod () (q (51 0x656214f18f80a85a30f97cafa0fdfd29578d5e8030316b21e36552f9172c49d1 0x01...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Return to: Insightful Comments

Example 1

keybase://chat/chia_network.public#chialisp/6836

Q: Is it the case that a coin locked with the puzzle '()' can be spent always? Or should it be '(1)'?

A: The puzzle can actually just be `1` yes which just returns whatever you pass in the solution. We use it a lot for testing.

Example 2

(mod () (q (51 0x656214f18f80a85a30f97cafa0fdfd29578d5e8030316b21e36552f9172c49d1 0x01)))