> For the complete documentation index, see [llms.txt](https://docs.vialabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vialabs.io/additional-products/anytoany.io/how-it-works.md).

# How it Works

## V1  (Legacy)

AnyToAny.io uses [VIA Messaging](/via-omnichain-network/technology-overview.md) to burn and mint an intermediary / utility token, $PAPER between chains.&#x20;

Process Flow:

1. Token A swaps into blockchain native gas coin
2. Blockchain native gas coin swaps into PAPER
3. PAPER is burned on Blockchain A and minted on Blockchain B
4. PAPER on Blockchain B is swapped for the native gas coin on Blockchain B
5. The native gas coin swaps into token B

## V2 Upgrade (Not yet released)

AnyToAny.io uses [VIA Messaging](/via-omnichain-network/technology-overview.md) in conjunction with Circle's [CCTP Network](https://www.circle.com/en/cross-chain-transfer-protocol).

Process Flow:

1. Token A swaps into blockchain native gas coin
2. Blockchain native gas coin swaps into USDC
3. USDC is burned on Blockchain A and minted on Blockchain B
4. USDC on Blockchain B is swapped for the native gas coin on Blockchain B
5. The native gas coin swaps into token B

The entire process, from using USDC on the source chain to receiving the desired tokens on the destination chain is often before you can switch chains in your wallet!

Stay tuned for more information!
