Create ZK proof cross-chain projects with one command
npm install create-ava-zkScaffolding tool for creating ZK proof cross-chain projects.
Create a new ZK proof project with one command:
``bash`
npx create-ava-zk@latest
The tool will prompt you to:
1. Choose a project name - Your project directory name
2. Select a circuit template from:
- Age Verification Circuit - Proves age is above 18 using date of birth without revealing exact age
- Credit Score & Balance Check Circuit - Proves both credit score and balance meet minimum requirements
- Minimum Balance Proof Circuit - Proves account balance meets minimum requirement without revealing exact amount
3. Install dependencies - Automatically runs npm install
``
my-zk-project/
├── contracts/ # Solidity smart contracts
│ ├── Groth16Verifier.sol # Generated verifier contract
│ ├── ZKProofSender.sol # Cross-chain sender
│ ├── ZKProofReceiver.sol # Cross-chain receiver
│ └── interfaces/ # Teleporter interfaces
├── [circuit].circom # Your selected circuit
├── input.json # Circuit inputs
├── circom_workflow.sh # Complete workflow automation
├── deploy.sh # Contract deployment
├── send_proof.sh # Send proofs cross-chain
├── receive_proof.sh # Receive and verify proofs
├── package.json # Project configuration
└── README.md # Documentation
`bashCreate a new project
npm create-ava-zk@latest my-zk-app
- Node.js ≥ 16.0.0
- Circom
- Foundry (forge, cast)
- Python 3
MIT