Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

L2 Mode on Kwenta #264

Open
0xclem opened this issue Mar 4, 2021 · 0 comments
Open

L2 Mode on Kwenta #264

0xclem opened this issue Mar 4, 2021 · 0 comments
Assignees

Comments

@0xclem
Copy link
Contributor

0xclem commented Mar 4, 2021

  1. Use the JS mono repo to use the providers from the library because its cross chain between L1 and L2

  2. Change the provider to be L2 - Jeremy - Not Started

  3. Update the design with new logo - Jeremy - Not Started

  4. Switch components to be able to switch between different chains

  5. Hold chain state within the dapp, isLayer1, isLayer2, boolean flag to make sure dapp knows what state it is at the moment

Examples --> see PR from Clem Synthetixio/staking#370

  1. Use JS lib (doesn't exist yet) transaction library to display transactions that pop up on L2 as well (when you do a transaction you have pop up showing with status). Pending, Success, Failed, etc.

  2. Gas estimate --> gas estimate for L2 is going to be hardcoded to 9M, gas estimate for L1 still use gas limit estimate func

  3. Gas Price - on L1 keep same logic, recommended and custom fetched from 3rd party api. On L2 GWEI will be a gas price of 1

  4. Update the graph endpoint to work cross chain (David S working on subgraph)

@andytcf andytcf assigned andytcf and kelonye and unassigned andytcf Mar 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants