wormhole-foundation / wormhole-monitor

The eagle-eyed observer. The meta-watcher.
https://wormhole-foundation.github.io/wormhole-monitor/
Other
6 stars 0 forks source link

Near watcher #34

Closed heyitaki closed 1 year ago

heyitaki commented 1 year ago

This PR adds a watcher for Near as well as a one-off backfilling script. Any data older than 5 epochs (~2.5 days) must hit an archival node to get data, so the backfill script uses a provider that hits an archive node whereas the watcher uses a regular provider.

Resolves #6 and #35

evan-gray commented 1 year ago

For backfilling, I think it would be far easier to grab the transactions from https://explorer.near.org/accounts/contract.wormhole_crypto.near and backfill them in a one of script.

heyitaki commented 1 year ago

Ok, I think that's a great idea, happy to proceed with that approach