Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/troggy/eth-sheets
Simple script to dump ETH/DAI transactions into Google Sheet
https://github.com/troggy/eth-sheets
Last synced: 12 days ago
JSON representation
Simple script to dump ETH/DAI transactions into Google Sheet
- Host: GitHub
- URL: https://github.com/troggy/eth-sheets
- Owner: troggy
- Created: 2019-06-07T16:37:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T16:58:52.000Z (about 2 years ago)
- Last Synced: 2025-01-03T01:09:50.598Z (18 days ago)
- Language: JavaScript
- Size: 30.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eth-sheets
Simple script to dump ETH/DAI transactions into Google Sheet## Install
1. Create service account to access Google Sheets: https://cloud.google.com/iam/docs/service-accounts. You will need email for it and private key
2. Create spreadsheet (may be blank or use the reference https://shrtco.de/leap-treasury)
3. Give service account write access to your spreadsheet (Share → add account's email)
4. Clone this repo
5. `yarn`
6. Set ENV variables in .env file:
- ES_API_KEY — Etherscan API key
- EMAIL — email for Google Drive service account
- PRIVATE_KEY — private key for Google Driver service account
- SPREADSHEET_ID — Google Spreadsheet ID to write data to
7. Inside the script:
- setup wallet(s) to scan
- adjust block heights to scan from
- adjust DAI/ERC20 contract address if needed
8. (optional) add known addresses to knownAddresses.json
7. Run it`node src/`## Reference spreadsheet
LeapDAO treasury:
Nothing is mandatory. Import could be done in the blank vanilla google sheet, just the name of the list should match the one from the script
## Roadmap
- [x] Basic import of ethereum transactions (incoming/outgoing)
- [x] Basic import of ERC20/DAI transactions
- [ ] Protection against duplicate imports
- [ ] Integration with Gnosis Multisig
- [ ] Source extra metadata from bounty spreadsheets (bounty payout goes through google/netlify form, script reads it)
- [ ] Integration with Gnosis Safe
- [ ] Get away from using Google products