Skip to content

alessandromaci/drs

Repository files navigation

version

Live Demo

About

The protocol enables registered users to rate and being rated. The rating can be useful for example to identify good & bad actors in the network. There are two main use-case associated with the protocol:

  • Rate users for their on-chain activity => The users' activty can be viewved via tx hash. The protocol takes two inputs (i.e. address of the user to rate and tx hash) and allows to specify a rating between 0-100.

  • Rate ENS users => This interface instead allows users to only rate other users that own an ENS domain. The rating can be specified between 0-100

Pre-requisite

  • NodeJs >= 14.x
  • NextJs 12.x
  • Solidity latest
  • Alchemy API key
  • EthersJs v5.x
  • Metamask

Contracts

📚 DRS ENS - Goerli
📚 DRS Hash - Goerli

Dev Environemnt

  1. Install Metamask

  2. Register account in Alchemy and generate a new APP using Goerli network

  3. Make .env.local

touch .env.local

add environment variable

NEXT_PUBLIC_ALCHEMY_KEY= https://eth-goerli.alchemyapi.io/{YOUR_KEY}
  1. Install dependencies
npm install --legacy-peer-deps
  1. Start developmment
npm run dev
  1. 📱 Open http://localhost:3000 to see the app

Production

Live deployment is made via Github / Vercel integration, as a vercel.app, from master branch.

About

Decentralized Rating System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors