Skip to content

Unirep Attester for reputation in a community marketplace

Notifications You must be signed in to change notification settings

trustlist/trustlist

Repository files navigation

trustlist

This is an example application of a UniRep attester. The app attests to user data that becomes a user's reputation score, which helps other users decide who they will engage with.

See: Users and Attesters

1. Installation

git clone https://github.com/trustlist/trustlist.git

Then cd into the directory that was created and install packages

yarn install

2. Start 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://127.0.0.1:4000/

3. Linter

3.1 Format the code

yarn lint:fix

3.2 Check if the code is formatted

yarn lint:check