Fujicracy / fuji-v2

Cross-chain money market aggregator
https://fuji-v2-frontend.vercel.app
15 stars 10 forks source link

Compound extension #686

Open ferostabio opened 1 year ago

ferostabio commented 1 year ago

https://www.figma.com/file/LkNVe5ob1LjGpbGU74Hcrs/Fuji---Design-Files-(Active)?type=design&node-id=6663-99268&mode=design&t=qgjMWsGf579HkI5b-0

ferostabio commented 1 year ago

Original plan revolved around two points:

First, the iframe route was the wrong take, since we can't just pass the signer. It would break everything, can't think of anything worst.

Then, making a reusable migrator is completely out of scope. It would mean rewriting a lot of our components, adding into a shared package, etc, and even then different extensions would force us to do things differently.

We will focus on having the Compound migrator flow working on their extension with our UI. We'll then worry about integrating the logic.

NikolaiYurchenko commented 1 year ago

UPD:

  1. markup finished in app in https://github.com/Fujicracy/fuji-v2/pull/708
  2. Trying to port markup here https://github.com/NikolaiYurchenko/comet-extenteion-test and push to fuji after