Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 521 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 521 Bytes

256 game

game256_contracts.py implements the game of doubling 8 times, the toy example used in this post to the bitcoin-dev mailing list.

There is no interactive tool to play with these contracts, but they are tested in the pytest test suite.

The actual code of the bisection protocol smart contract, which is independent from the specific computation, is in hub/fraud.py.