Simplest puzzles for testing

From mojo_puzzler
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)))