4 ms·
> e.g. some projects have a 7+ days waiting time for bridging tokens back from L2 to Ethereum mainnet End users will rarely use this process, instead they're d
by treyd 2y ago
> e.g. some projects have a 7+ days waiting time for bridging tokens back from L2 to Ethereum mainnet
End users will rarely use this process, instead they're directed to swap pools which essentially do an atomic swap of the same asset on both sides of the pool. The counterparty can observe the batches submitted by the sequencer are legitimate and can act on their side of the swap and collect a fee for providing liquidity.
- xur17 2y agoMatcha has a good example of what this UX can look like. For example, I recently used it to swap sDAI on Ethereum for USDC on Arbitrum (a layer 2). It's wrapped in a single transaction that does the swap + the bridge with the best exchange rate (after taking fees into account). Taking it a step further, in the future I imagine we will see wallets that abstract the concept of chains away, and automatically move the asset to the chain with the platform you are trying to interact with as part of the interaction transaction.
- treyd 2y ago> abstract the concept of chains away, and automatically move the asset to the chain with the platform you are trying to interact with I started to write an article [1] a while ago about how wallets ought to go about this but it seems the ecosystem insists on doubling down on developer tooling that really bakes in the concept of "which chain the user is on" into how all the libraries are used. It doesn't have to be this way but it'd require a bit of work to really get to the world where chains are very abstracted, and I'd like to see someone work towards it. [1] https://tr3y.io/articles/crypto/towards-better-wallets.html https://tr3y.io/articles/crypto/towards-better-wallets.html