yarn
cp .env.example .env
set your the variable INFURA_KEY
with the key obtained in Infura.
yarn start
Open a browser and navigate to:
-
http://localhost:3000/totals returns a JSON object with stats including the total amount of DAI transferred since program started.
-
http://localhost:3000/transaction/:id validates if a transaction hash
:id
belongs to an operation with DAI or not.
@javierlinked 2022