← Back to home

ERC20 Unchained

Unchaining ERC-20 tokens to enable use across all chains with standard function calls, regardless of where they currently reside. Behind the scenes, LayerZero's OFT handles the balance and movement, transferring tokens wherever needed without any extra steps for the user.

Screenshots

ERC20 Unchained screenshot 1
ERC20 Unchained screenshot 2
ERC20 Unchained screenshot 3

Problem Statement

The utility of ERC-20 tokens is increasingly limited by fragmentation across diverse networks. As assets become dispersed among these networks, the need for continual bridging introduces friction, creating barriers to seamless access and usability. It's should be clear to all of us that we can’t onboard the next billion users like this.This project is unchaining ERC20 tokens, allowing them to be used across all chains. For users, the process is invisible. Everything happens behind the scenes with the standard ERC20 function calls.

Solution

The unchained token is an Omnichain Fungible Token (OFT), which has an additional "ChainlessBalance" Omnichain Applications (OApp) contract, to keep track of all the balances on the different chains. Whenever the balance gets updated on one chain, all the other contracts are notified of that change immediatly through the ChainlessBalance OApp. If approve gets called with a value higher than the availbale amount on that chain, a message gets composed which will circle around other chains to collect the necessary funds. Once it reaches back the source chain the requested amount will be approved.The cost for all the messages are paid by the Unchained ERC-20 contract. A fee could be taken on any transfer to cover for that cost, however this hasn't been implemented for the scope of this hackathon.

Hackathon

ETHGlobal Bangkok

2024

Prizes

  • πŸ†

    Blockscout Explorer Big Pool Prize

    Blockscout

  • πŸ†

    Best Omnichain Solution1st place

    LayerZero

Contributors