29f7900c7d
### Summary This PR enables passing emitter addresses in Solana format when the `chainId` parameter is set to 1. If `chainId` is set to a different value, the API will expect a regular Wormhole address. Tracking issue: https://github.com/wormhole-foundation/wormhole-explorer/issues/189 ### Endpoints affected - `GET /api/v1/global-tx/{chain_id}/{emitter}/{seq}` - `GET /api/v1/observations/:chain/:emitter` - `GET /api/v1/observations/:chain/:emitter/:sequence` - `GET /api/v1/observations/:chain/:emitter/:sequence/:signer/:hash` - `GET /api/v1/vaas/{chain_id}/{emitter}` - `GET /api/v1/vaas/{chain_id}/{emitter}/{seq}` ### Example These two calls should be equivalent: - `GET /api/v1/vaas/1/ec7372995d5cc8732397fb0ad35c0121e0eaa90d26f828a534cab54391b3a4f5` (address in Wormhole format) - `GET /api/v1/vaas/1/Gv1KWf8DT1jKv5pKBmGaTmVszqa56Xn8YGx2Pg7i7qAk` (the same address, in Solana format) |
||
---|---|---|
.github/workflows | ||
analytic | ||
api | ||
common | ||
contract-watcher | ||
deploy | ||
devnet | ||
fly | ||
onchain_data | ||
parser | ||
pipeline | ||
server | ||
spy | ||
tx-tracker | ||
web | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
Tiltfile | ||
go.work |
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.