Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.01 KB

README.md

File metadata and controls

55 lines (35 loc) · 1.01 KB

create-unirep-app

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

See: Users and Attesters

1. Installation

npx create-unirep-app

Then cd into the directory that was created. There are two ways to start the example attester:

2.1 Start with one command

yarn start

Then the frontend will be running at: http://localhost:3000/

2.2 Start with each daemon

2.2.1 Start a node

yarn contracts hardhat node

2.2.2 Deploy smart contracts

in new terminal window, from root:

yarn contracts deploy

2.2.3 Start a relayer (backend)

yarn relay keys &&
yarn relay start

2.2.4 Start a frontend

in new terminal window, from root:

yarn frontend start

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