Skip to content

Commit ed3ee45

Browse files
committed
Add README for hub and sha256game
1 parent 0d2382a commit ed3ee45

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

examples/game256/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# 256 game
2+
3+
`game256_contracts.py` implements the game of doubling 8 times, the toy example used in [this post](https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-November/021205.html) to the bitcoin-dev mailing list.
4+
5+
There is no interactive tool to play with these contracts, but they are [tested](../../tests/test_fraud.py) in the pytest test suite.
6+
7+
The actual code of the bisection protocol smart contract, which is independent from the specific computation, is in [hub/fraud.py](../../matt/hub/fraud.py).

matt/hub/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## MATT hub
2+
3+
This folder will contain general purpose, reusable smart contracts that can be used as building blocks for more complex constructions.

0 commit comments

Comments
 (0)