trufflesuite / drizzle

Reactive Ethereum dapp UI suite
905 stars 235 forks source link

Playback from old block. #36

Open makoto opened 6 years ago

makoto commented 6 years ago

Hi,

The majority of web3 calls takes optional block number so that it returns the state of the specific block number rather than the default latest.

http://web3js.readthedocs.io/en/1.0/web3-eth.html#eth-defaultblock

Wondering how easy it is to add Playback feature into drizzle so that it can easily simulate the transaction history utilizing redux (rather than trying to put every state transition info into events).

OnlyOneJMJQ commented 5 years ago

Hi @makoto this is definitely something we want to support. Can you give us more insight into how you're using the tx history? Thanks!

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 5 years ago

This issue has been closed, but can be re-opened if further comments indicate that the problem persists. Feel free to tag maintainers if there is no reply to further comments.

cds-amal commented 4 years ago

For 2.0 consideration

saltyfacu commented 3 years ago

This is a cool feature to calculate, for example, APY using price per share on different protocols. Yearn being one of them.

That's how I'm using it.