This repo contains the logic used for calculating the GSWAP farming rewards.
- Install NodeJS โฅ 10.22.0
- Free Infura API Key
-
Install NodeJS 10.22.0 / NPM
-
Run
npm i
-
Add your infura API Key to
.env
-
Open
index.js
and set the pool ID for the corresponding pool inPOOL
, and your wallet address inADDRESS
. Pool IDs:- GSWAP-ETH: 0
- GSWAP-SHROOM: 1
- ETH-SHROOM: 2
- UNI-SHROOM: 3
- LINK-SHROOM: 4
-
Run
node index.js
to check the rewards number