Go to file
agodnic 533b83ad28
[API] Accept additional address formats (#170)
### Summary

Context: https://github.com/wormhole-foundation/wormhole-explorer/issues/154

This PR modifies all endpoints that receive an emitter/guardian address to accept a wider range of formats.
After this pull request, all of these are equivalent:
* `0x000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7`
* `000000000000000000000000f890982f9310df57d00f659cf4fd87e65aded8d7`
* `0xf890982f9310df57d00f659cf4fd87e65aded8d7`
* `f890982f9310df57d00f659cf4fd87e65aded8d7`

### Testing plan
* Added unit tests for the parsing code.
* Tested manually a few of the affected endpoints.
2023-02-28 17:50:23 -03:00
.github/workflows Build API swagger on github workflows (#123) 2023-02-02 15:07:09 -03:00
api [API] Accept additional address formats (#170) 2023-02-28 17:50:23 -03:00
deploy add ingress for api in staging and test environments (#169) 2023-02-28 15:44:45 -03:00
devnet 18 fly api cache most recent data for most frequent queries (#51) 2023-01-05 16:40:24 -03:00
fly fix guardian healtcheck in fly (#160) 2023-02-16 13:23:50 -03:00
onchain_data Web: fix vaa parsing (#31) 2022-11-17 17:30:11 -06:00
parser Feature/refactor parser to use sns sqs (#148) 2023-02-16 10:55:54 -03:00
pipeline pipeline: new component (#146) 2023-02-16 11:09:57 -03:00
server web: fixed vaa timestamp col (#26) 2022-11-10 07:46:02 -06:00
spy Improve logs for health/ready endpoints (#133) 2023-02-03 15:58:58 -03:00
web Web: fix vaa parsing (#31) 2022-11-17 17:30:11 -06:00
.gitignore Ups go version so we can use generics 2022-11-07 15:18:52 -03:00
LICENSE first commit 2022-09-07 18:43:05 +00:00
Makefile create cicd pipeline for deployments to staging environment - step 1 (#71) 2023-01-23 18:41:19 -03:00
README.md Update README.md 2022-10-05 03:08:42 -04:00
Tiltfile fix: MongoDB Replica Set when Titl is restarted (#43) 2022-12-15 12:51:15 -03:00

README.md

Wormhole Explorer

Background

WIP

It would be more efficient and reliable for...

  • an indexer to be populated by an independent party (Fly) listening on the p2p network
  • integrators to query a service for signed VAAs instead of round-robining the public guardian endpoints

More insight into Wormhole network status, stats, and messages would be great!

The service can even be extended to offer websockets or webhooks to stream new VAAs.

Components

Mongo

Mongo Express

Fly

References

https://hub.docker.com/_/mongo

https://www.mongodb.com/docs/drivers/go/current/