This repository provides examples of using genSTARK library.
To make the best use of examples in this repository, you'll need the following:
- Node.js - you'll need this to run the examples. Version 12.x would do.
- VS Code - you'll need it to edit files. Version 1.41 or higher would do.
- AirScript Syntax Highlighter for VS Code - this will make editing AirScript files much nicer.
- TypeScript (this usually comes with VS Code) - you'll need this recompile TypeScript files.
To run the examples in this repo, do the following:
- Make sure your environment is set up as described above.
- Clone the project locally:
git clone https://github.com/GuildOfWeavers/genSTARK.demo.git
- Run
npm install
- this will download all dependencies
This repository contains the following examples:
- MiMC - contains AirScript code for MiMC computation.
- Poseidon - contains AirScript code for Poseidon hash function, including an example of using the function for Merkle tree verification.
- Poseidon - contains AirScript code for Rescue hash function, including an example of using the function for Merkle tree verification.
MIT © 2020 Guild of Weavers