Closed ferostabio closed 1 year ago
Please test this PR on: https://v2-staging-393-dot-fuji-306908.ey.r.appspot.com
@brozorec I'm not sure about the CONNEXT_URL
function since, well, it's not a constant 😅, but the code is much cleaner this way. Should we move it somewhere else?
Thank you for the feedback! On it
Implements issue https://github.com/Fujicracy/fuji-v2/issues/392.
@brozorec please have a look.
Chain
class was passed around, but othersweb3-onboards
. This means we passed around chain ids as our ownChainId
, as numbers and as hex string values in a way not very consistent. Now we only use our chains, meaning we mostly pass aroundChainId
and only convert to hex when we need to interact with theonboard
library.chain-properties.ts
constants file and convenience properties to theChain
class.DEFAULT_SLIPPAGE
constant and a couple of URLs to a newcommons