SocketšŸ¤Perp

SocketšŸ¤Perp

Integrating Socket to bridge assets on Perp

SocketšŸ¤Perp

SocketšŸ¤Perp

Integrating Socket to bridge assets on Perp

The problem SocketšŸ¤Perp solves

As we look back on L222, weā€™ll be thankful for the benefits enjoyed by users but first we have to overcome some growing pains. One of the hurdles faced by projects shifting to Layer 2 is the bridging of assets.
One way we can do this is to make bridging more user friendly and remove the barrier to trading derivatives on Optimism! Right now, users need to leave the Perp application interface and explore different bridging options, all with their own trade offs. To make bridging more seamless, I am working on integrating Socket Network to build a Perp Bridge powered by FundMovr APIs.

Challenges I ran into

Had to call smart contract functions from frontend for eg to approve allowance. It took me a while to figure out how to wait for the for transactions to get completed and show result. Deciding on project architecture around how to combine responses from different APIs to obtain the desired results took a bit of iterations.
Had a build a responsive and pretty looking UI.
Integration with Socket went pretty straightforward, but as the API returned a huge response. Frontend was quite slow, to solve this had to add infinite scroll on the website

Discussion