nahmii-community / bridge

The Nahmii gateway, for bridging assets between L1 <-> L2.
1 stars 2 forks source link

Rebuild withdrawal history. #59

Closed HDauven closed 2 years ago

HDauven commented 2 years ago

Purpose Withdrawal history is currently stored in browser based off of user activity. The withdrawal history is not stored on chain in a transparent way, and thus to reconstruct it across multiple devices requires either introspecting past events or retrieving and filtering on chain data through an external data repository like our block explorer.

Preferably, the functionality to filter out withdrawal and deposit events that took place on our bridge would be handled through our SDK. The same for the status introspection of a withdrawal. Since this functionality is not yet available, withdrawal history reconstructing is done through filtering on our block explorers transaction and checking against the input fields of a withdrawal transaction.

Issues

51

Changes

Check list