Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.