SnarkyJS
The easiest way to write zk programs is using SnarkyJS, a TypeScript framework for zk-SNARKs and zkApps.
To write a zkApp smart contract for the Mina Protocol, we recommend using the zkApp CLI. The zkApp CLI allows you to scaffold, write, test, and deploy zkApps using recommended best practices. zkApps created with the zkApp CLI include SnarkyJS and provide project scaffolding, a test framework, and correct formatting.
To learn more, see the SnarkyJS reference and zkApp Developers documentation.
For a list of changes between versions, see the CHANGELOG.md.
Community Packages
Here is a list of community-maintained packages. To include your package, see the Contributing guidelines.
- snarkyjs-elgamal A partially homomorphic encryption library for SnarkyJS based on Elgamal encryption: GitHub and npm
Contributing
We appreciate all community contributions to SnarkyJS!
See the Contributing guidelines for ways you can contribute. To learn about ways to participate and interact with community members, see Online Communities.