KCC Documents
  • Quickstart
  • Overview
    • Introduction
    • Features
    • Our Goal
    • Consensus Engine
    • Marketing Guide
      • Requirements
      • KCC Official Website Resource
      • KCC Social Media Promotion
      • PR & Third-Party Marketing Support
  • Developers
    • Network Endpoints
    • Deploy Smart Contract
      • Using Hardhat
      • Using Remix
    • Verify Smart Contract
      • Using Hardhat
      • Using Foundry
      • Using Remix
    • Issue ERC20 Token
    • Deploy NFTs
      • Create A Foundry Project
      • Create Your ERC721 Contract
      • Add Metadata
    • Run a Node
      • Hardware & System Requirements
      • Install KCC
      • Run A Full Node
      • Run A Validator Node
        • Block Rewards
        • Apply For Running A Validator
        • Manager Account And Validator Account
        • Run A Validator
      • Troubleshooting
    • Explorer
    • Oracles
      • KCC Oracle
    • Bridge
    • Dev Toolkit
    • Data
      • Indexing and Querying
        • The Graph
        • Using KCC's hosted subgraph
    • Gas Revenue Program
      • Rules for Calculation of Gas Revenue
      • How to Join the KCC Gas Revenue Program
  • Individuals
    • Wallet
      • Supported Wallet
      • Tutorial on how to set up wallet
      • Mutisig Wallet
        • Create New Safe
        • Send KCS From Your Safe
        • Use A DApp With Your Safe
    • Network Configuration
      • Configure Value
      • Tutorial on how to config KCC network in Metamask
      • Tutorial on how to config KCC network in Chainlist
    • Bridge Assets
      • Bridge assets from others chains
      • KCC Bridge
      • Bridge assets form Exchange
    • Find a dApp
      • Add Your dAPP
    • KCS Token
      • Get KCS
      • Stake KCS
        • How to participate in KCS Staking
        • How to redeem staked KCS
        • How to check or claim staking rewards
  • FAQs
    • FAQs
      • General FAQs
      • KCS and Staking FAQs
      • Validator FAQs
  • Future Developments
    • Milestone
  • CONTACT US
    • Contact Us
  • Disclosure
    • Disclaimers
    • Risk Statement
    • Media Kit
Powered by GitBook
On this page
  1. Developers

Bridge

PreviousKCC OracleNextDev Toolkit

Last updated 1 year ago

The KCC Bridge

The is a multi-chain bridge that helps you transfer assets between different chains. Currently, you can transfer your assets from Ethereum, Binance chain, Polygon, Fantom, or Avalanche to KCC. Besides, you can also transfer your assets back from KCC to the original chains.

Let's take an example to see how KCC Bridge works. We assume that you want to transfer your ETH from Ethereum to KCC. First, you deposit your ETH on the source chain (Ethereum). You deposit your ETH by interacting with the Bridge contract on Ethereum:

A few Bridge operators will independently watch the deposit events emitted from the Bridge contract on Ethereum.

Each operator will independently verify the validity of the deposit transaction. If the transaction passes all the checks, each operator will initiate a "withdraw Token" transaction on KCC:

If more than the required (currently at least two) number of operators have initiated "Withdraw Token" transactions, the last operator's transaction will trigger the minting process: The corresponding amount of Pegged-ETH will be minted to the user.

If a user wants to transfer his ETH from KCC back to Ethereum. The reverse of the above would happen: The user will burn his Pegged-ETH through the Bridge contract on KCC, and then the operators will help to release his ETH locked in the Bridge contract on Ethereum.

The KCC Bridge Smart Contracts are open-sourced. You can find them on GitHub:

And you can also find a complete list of all the deployed contracts on each chain .

KCC-Peg-Token
KCC-Bridge-Contract
here
KCC Bridge