Blog

Network 101: A concise guide to Chainflip, and how it simplifies cross-chain swaps

Chorus One
Chorus One
November 23, 2023
5 min read
November 23, 2023
5 min read
  • Chainflip is a cross-chain decentralized exchange that leverages Just-In-Time (JIT) liquidity to provide better capital efficiency for LPs and less slippage for traders.
  • Contrary to traditional AMMs like Uniswap, where liquidity is maintained through smart contract-stored pools, Chainflip operates with up to 150 validators constructing multisig 'vaults' on all supported blockchains simultaneously which are secured using Chainflip’s native token, FLIP.
  • The user simply needs to select the coins they want to buy/sell and submit the transaction. No wrapped tokens, synthetic assets, KYC, or any complex set up is needed.
  • Although users can't delegate FLIP to public nodes, our institutional customers can engage through Chorus One's whitelabel solution for Chainflip.

In March 2020, Vitalik Buterin expressed frustration over the lack of a trustless solution for swapping between BTC and ETH. Fast forward to November 2023, and Chainflip has finally arrived, transforming swaps with a straightforward and seamless process for exchanging digital assets. Chorus One is proud to support the network as one of the genesis validators!

What is Chainflip?

Chainflip is a cross-chain decentralized exchange based on a proof-of-stake validator network that offers users the simplest way to swap assets across different chains. Fully permissionless, it simplifies trading for users who can select the coins they want to trade and submit the transaction. No wrapped tokens, synthetic assets, KYC, P2P counterparties, or any other time-consuming complexities are requisite. Chainflip is designed to minimize slippage and offer great pricing for high-liquidity trading pairs.

How does Chainflip work?

Contrary to traditional AMMs like Uniswap, where liquidity is maintained through smart contract-stored pools, Chainflip operates with up to 150 validators constructing multisig 'vaults' on all supported blockchains simultaneously, collateralised by Chainflip's token, FLIP. The assets used for trading are held in these Vaults on chains such as Ethereum, Bitcoin, and so on, creating a decentralized ‘settlement layer’. This is paired with the ‘accounting layer’, the Chainflip State Chain, which is a substrate-based application specific Blockchain. Instead of traditional on-chain pools, Chainflip virtually trades assets on the ‘State Chain’, balancing accounts and settling with the real assets stored securely in Vaults. The State Chain oversees all activities in the Chainflip protocol, including but not limited to recording, executing, or triggering protocol events. Think of it like a unified wallet system in centralized exchanges, simplifying the tracking of user balances.

Trading and tracking assets virtually on the State Chain simplifies the work needed to support individual chains, as rather than needing to write swapping logic in a range of smart contract and scripting languages on external blockchains, it is entirely contained within the Chainflip State Chain environment.

Validators achieve consensus on every transaction within the Chainflip State Chain. FLIP is automatically purchased and burned with each swap, funding emissions for validators and offering liquidity incentives.

Additionally, all of the swapping and trading logic happens on the State Chain, meaning it’s fast, cheap, and dedicated for this purpose. The user experience is incredibly simple, requiring only a destination address for a swap, without any setup: The user selects the coins they want to buy/sell and submit the transaction. No wrapped tokens, synthetic assets, KYC, P2P counterparties, or anything else complex and time consuming is needed.

The above animation by Chainflip demonstrates the path of a typical swap, where a hypothetical user swaps USDC (ERC20) for BTC (native), and Market Makers A & B compete to win the liquidity fee from the trade. Source: https://docs.chainflip.io

  1. User deposits 10,000 USDC on Ethereum.
  2. Market Makers notice this and prepare for the trade, adjusting their prices.
  3. The swap happens on Chainflip after some Ethereum blocks, around 90 seconds.
  4. Using strategies like risk model calculations to determine their best possible price for the trade, Market Makers aim to profit by selling and rebuying BTC during the process.
  5. The Chainflip network sends the swapped BTC to the user’s BTC wallet.
  6. Market Makers adjust their portfolios for future opportunities.

For a more detailed explanation of each step, visit https://docs.chainflip.io/concepts/swaps-amm/just-in-time-amm-protocol

Staking Mechanisms

Chainflip, a Proof of Stake network without support for native delegation, allows up to 150 validators in the protocol's authority set. Validators secure the network using collateralized FLIP as part of the active set. All Validators with sufficient $FLIP to outbid others in Auctions become part of the active set and similar to Ethereum, each authority member earns equal rewards per epoch. A fixed reward (much less than the Authority Set reward) is split between Backup Validators each Epoch. To be a Backup Validator, Validators must be Qualified and have one of the top 50 bids of non-Authorities.

Chorus One’s Contributions to Chainflip

We've collaborated closely with Chainflip since its inception, actively participating in the testnet.

How Can Institutions and Investors Get Involved?

While users can't delegate FLIP to public nodes, our institutional customers can get involved through Chorus One's whitelabel solution for Chainflip. We set up and maintain validator nodes on your behalf, allowing you to brand the node while we handle all the technicalities. To learn more about our whitelabel solution for FLIP, please reach out to us at staking@chorus.one.

Resources

An introduction to Chainflip

Conversation with Simon Harman, founder of Chainflip on Epicenter Podcast -

Chainflip Docs

Website

Twitter

About Chorus One

Chorus One is one of the biggest institutional staking providers globally operating infrastructure for 45+ Proof-of-Stake networks including Ethereum, Cosmos, Solana, Avalanche, and Near amongst others. Since 2018, we have been at the forefront of the PoS industry and now offer easy enterprise-grade staking solutions, industry-leading research, and also invest in some of the most cutting-edge protocols through Chorus Ventures.

 Join our mailing list to receive our latest updates, research reports, and industry news.
Thanks for subscribing. Watch out for us in your inbox.
Oops! Something went wrong while submitting the form.