➡️ Live Preview
- Simple Google Sheet fetch and store "cron" job script
- Track your wallet balance by using Google Sheets web app functionality
- This script can be used for any other blockchain, just configure data fetching details (specific for that blockchain) and use it as that blockchain wallet tracker
- Also, it can be used for other fetch and store repeating operations, e.g., fetching Binance market trading pairs, or even in combination with fetching blockchain data and market data and doing some type of analysis
- Open Google Drive
- Create new Google Sheet
New -> Google Sheets
Add sheet
for each wallet you want to track, plus one sheet for the Logfile- Call them, e.g., Idena1, Idena2, ..., and Log
- Open
Share -> Get link
- e.g. https://docs.google.com/spreadsheets/d/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/edit?usp=sharing
- Save somewhere XX...XX from the link
- Open
Extensions -> Apps Scripts
- Overwrite default Code.gs with Code.gs from the repository and change constants at the top
- Open
Deploy -> New Deployment -> Select type = Web App
- Add Configuration:
- Any description
- Execute As: Me
- Who has access: Only myself
- Add Configuration:
- Click
Deploy
- Set function initTriggers at
Select function
to run and clickRun
- Let it run for a few days, after that, you will have enough of a sample to calculate the statistics you are interested in.
- Columns: { Timestamp, Balance, Stake, Sum } belong to script and any data added to that rows could be overwritten
- In order to add more stats, just add functions to the free columns, starting from column "E"