coconut-chainspace
coconut-chainspace copied to clipboard
Chainspace smart contracts based on Coconut.
coconut-chainspace
This is the Coconut smart contract library implemented for Chainspace, as described in section 4.1 of the Coconut paper. The goal is to enable other application-specific smart contracts to conveniently use the Coconut cryptographic primitives through cross-contract calls. As examples, we provide implementation of:
The Coconut cryptographic scheme is available here, and a link to the full paper is available here.
Pre-requisites
Install the Chainspace Contract Framework as described here, and Coconut as described here
Test
Tests can be run as follows:
$ pytest -v tests/
Contribute
Feel free to send a PR if you wrote other Chainspace smart contracts based on Coconut!