https://github.com/menduz/eth-exporter
https://github.com/menduz/eth-exporter
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/menduz/eth-exporter
- Owner: menduz
- License: mit
- Created: 2023-07-26T20:26:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-15T12:39:09.000Z (8 months ago)
- Last Synced: 2024-10-16T21:30:41.094Z (8 months ago)
- Language: TypeScript
- Size: 10.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eth-exporter
```bash
# this is an example configuration file named "poap.cfg"blockNumber 17773460
# etherscanApiKey AAAAAAAAAAAAAAAAAAAAAAAAAAAASD
# (can also be specified as env var ETHERSCAN_API_KEY)# coingeckoApiKey CG-AAAAAAAAAAAAAAAAAAAAA
# (can also be specified as env var COINGECKO_API_KEY)add 0xf6B6F07862A02C85628B3A9688beae07fEA9C863 poap.xyz
```Then run the following command to extract the transactions to a CSV file
```bash
npx eth-exporter poap.cfg --format=csv --output=poap.csv
npx eth-exporter poap.cfg --format=dot --output=poap.dot
```A `.cache` folder will be created on the current working directory to reduce the total amount of RPC and API calls in future runs.