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

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 Start a relayer (backend)

yarn relay start

2.5 Start a frontend

in new terminal window, from root:

yarn frontend start

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