https://github.com/dteam-top/zkp-api-starter
BFF for ZKP projects
https://github.com/dteam-top/zkp-api-starter
circom zkp
Last synced: about 1 year ago
JSON representation
BFF for ZKP projects
- Host: GitHub
- URL: https://github.com/dteam-top/zkp-api-starter
- Owner: DTeam-Top
- Created: 2022-11-14T02:36:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-14T02:38:31.000Z (over 3 years ago)
- Last Synced: 2025-03-27T18:13:52.336Z (over 1 year ago)
- Topics: circom, zkp
- Language: TypeScript
- Homepage:
- Size: 35.4 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ZKP API Starter
This starter inlcude two sub projects:
- circom, a circom-starter powered by hardhat-cirom plugin.
- api, a fastify api server hosting the circuits created by circom sub project.
## How To Run
1. Following the instructions in [circom/README](./circom/README.md) to create, build and test your circuits and verifier contracts.
2. Verifiers contracts deployment, for local deployment:
- `npx hardhat node`, kick off local hardhat node.
- `npm run deploy:local` in circom project.
3. Changing the verifiers contracts addresses in [api/src/constant.ts](./api/src/constant.ts).
4. `npm start` in api project.
5. Sending requests to it and the interfaces can be found in [api/README](./api/README.md).