Content
@
0 reply
0 recast
2 reactions
shazow
@shazow.eth
Can we build an L1 token contract whose balances are controlled by an L2? Imagine a token wrapper on L1, where we can deposit whatever token (e.g. USDC) then work with the deposited balances on L2 as much as we want with super cheap fees, then eventually withdraw back on L1 via ZK proof against the latest state root? (It's kind of like a based appchain, but could piggyback of any existing L2?)
4 replies
0 recast
3 reactions
{*_*} ichristwin
@ichristwin.eth
I've been thinking of a similar idea for an ERC-4626 tokenized vault, where the vault and the token live separately on the L1 and across L2s respectively. Mint/deposit sort of works (as long as the L1 is responsible for the sequence) Burn/redeem is a nightmare because it can't be atomic. (esp on op bridges) Explored proving with Merkel branches, proof too big for L1 blocks Playing with the idea of STACK proofs now (mostly because arithmetization is way more intuitive to me than the gates and circuits for SNARKs 🥲)
0 reply
0 recast
0 reaction