Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scrypt-inc/sudoku-bounty
Demo implementation of a private non-interactive bounty smart contract.
https://github.com/scrypt-inc/sudoku-bounty
Last synced: 19 days ago
JSON representation
Demo implementation of a private non-interactive bounty smart contract.
- Host: GitHub
- URL: https://github.com/scrypt-inc/sudoku-bounty
- Owner: sCrypt-Inc
- Created: 2022-10-06T13:53:52.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-08T10:36:56.000Z (over 1 year ago)
- Last Synced: 2024-11-05T09:37:34.414Z (2 months ago)
- Language: Circom
- Size: 2.27 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Private Non-Interactive Bounty for General Computation on Bitcoin
This repository contains Circom and sCrypt code implementing a private non-interactive bounty for solving a Sudoku puzzle via the Bitcoin network. It contains a full end-to-end test along with deployment script examples.
For more information on how the bounty protocol works read our [article on Medium](https://xiaohuiliu.medium.com/private-non-interactive-bounties-for-general-computation-on-bitcoin-6bc05fc3c752).
## Testing
Make sure you got Go, Circom and SnarkJS installed and properly configured. Use Circom version 2.0.2.
Get an already prepared power of tau file by running:
```sh
wget https://hermez.s3-eu-west-1.amazonaws.com/powersOfTau28_hez_final_22.ptau -O pot22_final.ptau
```Run tests:
```sh
npm t
```Tests include a full end-to-end test which takes a long time to process.