README for esd crawler

smart-contract-crawlers
Neeraj Kashyap 2021-07-27 00:58:30 -07:00
rodzic ef9c73c554
commit a59e6545e8
1 zmienionych plików z 25 dodań i 0 usunięć

Wyświetl plik

@ -3,3 +3,28 @@
This crawler retrieves Ethereum function signatures from the Ethereum Signature Database at
[https://4byte.directory](https://4byte.directory).
### Installation
(Use Python 3)
```bash
pip install -r requirements.txt
```
### Database access
Make sure that the `EXPLORATION_DB_URI` environment variable is set as a Postgres connection string.
For a sample, view [`sample.env`](./sample.env).
### Crawling ESD function signatures
```bash
python esd.py --interval 0.3 functions
```
### Crawling ESD event signatures
```bash
python esd.py --interval 0.3 events
```