nahmii-community / bridge

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

Integrate the @Nahmii/SDK package #47

Closed HDauven closed 2 years ago

HDauven commented 2 years ago

Describe the solution you'd like Replace deposit and withdrawal functionality that currently exists in the bridge with equivalent functions from the @nahmii/SDK package. Add withdrawal finalization functionality through the SDK.

Additional context Integrating the SDK means that the withdraw and deposit functions from the ethereum.js util can be removed and the ABIs for the L1StandardBridge and the L2StandardBridge are obsolete.

Stepwise breakdown

Definition of done