XLabs / wormscan-ui

5 stars 3 forks source link

Refactor Standard Relayer handling #676

Closed valentinoConti closed 1 month ago

valentinoConti commented 1 month ago

Description

This PR refactors the way wormholescan handles standard relayer transactions.

Originally, all the relayers logic was 100% frontend, so we needed to get some information with the API and from there get everything else, so all the logic ended up being in a child component instead of the one with all the txn logic (Tx).

Nowadays we can get everything we need from the API and the logic had to be where everything else is.

With this refactor the standard relayer transactions are not going to show a Loader anymore. It will load everything at the same time. It also should fix some inconsistencies with the Arkham addresses tooltip.