Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jyscao/lmr-etherscanner
https://github.com/jyscao/lmr-etherscanner
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jyscao/lmr-etherscanner
- Owner: jyscao
- Created: 2022-03-28T06:36:57.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-28T07:07:42.000Z (almost 3 years ago)
- Last Synced: 2023-09-05T07:23:06.285Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LMR Etherscanner
Prints the activities given a list of ERC20 wallet addresses, using the Etherscan REST API.
### Dependencies
* Python 3
* [requests](https://github.com/psf/requests)### Required Data Files
The following files are expected to present at the root of the project (i.e. same directory as the `call-etherscan.py` script):
* `etherscan_api_keys.py`, containing a Python dictionary of the form:
```python
API_KEYS = {
0: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
1: "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY",
...
}
```* `wallet_addresses.py`, containing a Python dictionary of the form:
```python
WALLET_ADDRS = {
"John Smith": "0x1111111111111111111111111111111111111111",
"Jane Doe": "0x2222222222222222222222222222222222222222",
...
}
```### Run
* Simply run `./call-etherscan.py` to check all LMR tokens (the default) sent from your list of ERC20 addresses.
* Use `./call-etherscan.py -h` to see all available options, including all supported tokens.
### Adding Tokens
Simply create a new kv-pair in the dictionary defined in `contract_addrs.py`.