analyseether / ether_sql

A python library to push ethereum blockchain data into an sql database.
http://ether-sql.readthedocs.io
Apache License 2.0
69 stars 22 forks source link

Always remain on the top of the ethereum chain #33

Closed ankitchiplunkar closed 6 years ago

ankitchiplunkar commented 6 years ago

Is your feature request related to a problem? Please describe. Currently there is no method to subscribe to new blocks and push them in the psql tables. Things that are required:

  1. Provide a reliable stream of blocks, using:
  2. Add a websocket listner to get new blocks.

Describe the solution you'd like Would prefer to build a library similar to https://github.com/ethereumjs/ethereumjs-blockstream using web3.py.

Additional context This would be needed to be always up-to date with the chain.