Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bryanbill/eth-api
https://github.com/bryanbill/eth-api
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bryanbill/eth-api
- Owner: bryanbill
- Created: 2021-05-27T21:13:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-27T21:25:50.000Z (over 3 years ago)
- Last Synced: 2024-11-06T19:53:54.793Z (3 months ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shark of The Pool - API
Backend API - Shark of The PoolService is designed to parse events for contract specified in the ./config/main.
It will parse events from ./config/contract_included_block, and automatically
add other contracts, created by the main contract.It parses events every 30s for each contract stored in the contracts table.
#### Running service
Make sure you specify correct RPC provider, contract address and db connection.
You need to run MongoDb database.Run:
```
$ npm start
```#### Run with docker
Make sure you set all the environment variables in the ecosystem.config.jsRunning container:
```
$ docker-compose up -d --build
```