Open shrugs opened 6 years ago
web3-1.0.0 subscriptions require ws handler, and right now we're http only. adding web3 itself gets annoying because we have to pass that configuration down and I'm not sure how to do traceTransaction over ws provider.
replace the function here https://github.com/XLNT/gnarly/blob/master/packages/gnarly-core/src/Blockstream.ts#L165 with a web3 filter that gets pushed information about new blocks