Prerequisites
Before installing Tornado Nova, ensure you have the following installed:- Node.js (v14 or higher)
- Yarn package manager
- Git
Installation Steps
Install dependencies
Install all required dependencies using Yarn:This will install all packages specified in
package.json, including:- Hardhat and related plugins
- Circom and circomlib for zero-knowledge circuits
- Ethers.js for blockchain interactions
- OpenZeppelin contracts
Download circuit files
Download the required trusted setup files:This downloads the powers of tau ceremony files needed for circuit compilation.
Verify Installation
To verify your installation is successful, run the test suite:The test suite may take several minutes to complete as it involves zero-knowledge proof generation and smart contract testing.
Project Structure
After installation, your project structure will look like this:Available Commands
Next Steps
After installation, you’ll need to:- Configure your environment variables (see Configuration)
- Build the zero-knowledge circuits (see Building Circuits)
- Set up network configurations for deployment