setup steps
-
- change the file .example.env to .env .
-
- apply api key in google developer console
-
- download credential.json to this workspace
-
- apply api key in etherscan and paste the apikey in .env 'etherscan_api_key' section.
-
- apply api key in infura and paste the apikey in .env 'etherscan_api_key' section.
-
- create a google spreadsheet and copy the sheet ID(in the URL) to .env 'gsheet' section. and don't forget to add modify the accessablity of your api account to the sheet.
-
- change tab index(0 based) if your tab is not the first in .env gindex section.
-
- modify your wallet address in myaddr section.
-
- run npm i
-
- npm run start
-
- change spread sheet format
change the
adddata
@index.js line 28 to any format you want . example sheet
- change spread sheet format
change the
-
- change daily auto report time
index.js
line 79 if you don't want your daily record to be adde at 4 pm.
- change daily auto report time
-
- if you do not want just to record the total value . instead to split the fee and the liquidity position
change the
v3-value-calculator.js
line 191 . which fee and liquidity pos can be seperated.
- if you do not want just to record the total value . instead to split the fee and the liquidity position
change the