XLabs / wormscan-ui

6 stars 3 forks source link

Implement getting info from blockchains if no VAA found on search #299

Open valentinoConti opened 1 year ago

valentinoConti commented 1 year ago

When users do a transaction on the portal bridge (or any wormhole app), they have to wait for a VAA to get emitted before being able to redeem it.

Sometimes, that VAA can take a while to get emitted (solution: wait) or, for some error, it can happen that it never gets emitted (solution: contact support).

In those cases (when there's no vaa yet), if users paste a txHash on the searchbar on wormholescan, they won't see anything related to their transaction. They will see a "not found" page.

The idea of this task is to try to implement a way for users to be able to see "something" related to their transactions. So they don't panic when they already sent funds and it's not being received yet.

valentinoConti commented 1 year ago

Initial support implemented on #298

Transactions with source chains being: ETH, POLYGON, BSC, OPTIMISM, ARBITRUM, AVALANCHE, BASE and CELO; should be able to be find on wormholescan before the VAA gets emitted.

This is, doing a transaction on the portal bridge / cttp bridge, and when it gives you the transaction hash ready to open it on the blockchain explorer, you should be able to see their details on wormholescan (not all the details, but most of them)

SamantaCasal commented 1 year ago

QA OK! Evidence:

https://github.com/XLabs/wormscan-ui/assets/69044575/eda2406c-c230-4b91-96a6-e8768d5d565c