2023-09-11 13:02:21 +08:00
2023-08-25 15:41:45 +08:00
2023-08-28 11:20:53 +08:00
2023-06-02 12:40:50 +08:00
2023-06-28 15:34:21 +08:00
2023-09-11 13:02:21 +08:00
2023-07-06 09:08:38 +08:00
2023-06-02 12:40:50 +08:00
2023-06-02 12:40:50 +08:00
2023-08-28 11:20:53 +08:00
2023-06-02 12:40:50 +08:00
2023-06-02 12:40:50 +08:00
2023-06-02 12:40:50 +08:00
2023-09-01 01:30:26 +08:00

create-unirep-app

This is a demo app of a unirep attester. In this demo app, users can request data from the example attester. After transition, user can prove how much data he has.

See: Users and Attesters

1. Installation

npx create-unirep-app
yarn install
npm install -g circom

Then cd into the directory that was created.

2 Start with each daemon

2.1 Build the files

yarn build

2.2 Start a node

yarn contracts hardhat node

2.3 Deploy smart contracts

in new terminal window, from root:

yarn contracts deploy

2.4 Set up Twitter API Key

cp packages/relay/.env_example packages/relay/.env

Then fill in your Twitter API Key in packages/relay/.env

2.5 Start a relayer (backend)

yarn relay start

2.6 Start a frontend

in new terminal window, from root:

yarn frontend start

It will be running at: http://localhost:3000/

Description
No description provided
Readme 33 MiB
Languages
TypeScript 98.2%
Circom 0.7%
CSS 0.3%
JavaScript 0.3%
Shell 0.2%
Other 0.2%