LogoLogo
English
English
  • ⚡Introduction
    • What is Tokamak Network?
    • Vision
    • Whitepaper
  • ⚙️Service Guide
    • Tokamak L2
      • Thanos Stack
        • Introduction
        • Differences Between Ethereum and Thanos Stack
        • Transaction Fee
        • L2 Native Token Bridge
          • Overview
          • Contracts Modifications
          • Deposit & Withdraw Flow
          • Security Considerations
        • Testnet Information
    • Staking & DAO
      • Simple staking
        • Stake
        • Withdraw
        • Staking reward
        • Contract addresses
        • Contract addresses (testnet)
      • Tokamak Network DAO
        • DAO candidates
          • DAO candidate registration
        • Propose
        • Agenda
        • Contract addresses
        • Contract addresses (testnet)
    • Rollup Hub
      • Devnet
        • Parameter Definitions
        • Creating your own rollup Devnet
      • Mainnet Beta
        • Deployment Configuration Parameters
        • Deploy with AWS
          • Introduction
          • Prerequisites
          • Deploy contracts
          • Building AWS infra with terraform
          • Deploy Thanos chain
        • Operation Guide
          • Chain Operators
            • Architecture
            • Node Operations
            • Chain Configurations
          • Developer Tools
            • SDK
              • Bridge ERC-20 tokens with the Thanos SDK
              • Bridge the Native Token with the Thanos SDK
              • Bridge ETH with the Thanos SDK
            • Contracts
            • About USDCBridge
        • Additional Features
          • Mini Bridge
            • Deployment Guide
            • How to use the Mini Bridge?
          • Seigniorage Rewards (Coming Soon)
      • Troubleshooting
    • Faucet (testnet)
  • 📖Information
    • Get TON
    • TON ↔ WTON
    • Glossary
    • Link
  • 😀Get Involved
    • Global Telegram
    • Community Discord
Powered by GitBook
On this page
  • Introduction
  • Quick User guide
  1. Service Guide
  2. Rollup Hub
  3. Mainnet Beta
  4. Additional Features
  5. Mini Bridge

How to use the Mini Bridge?

PreviousDeployment GuideNextSeigniorage Rewards (Coming Soon)

Last updated 4 months ago

Introduction

The mini bridge can be configured and integrated into the deployed L2 network. Its key functionality includes Deposit/Withdraw support for ETH, Native token, USDT, and USDC. You can learn more about the mini bridge here. As the code is open source, operators and developers can extend its functionalities to suit their specific needs.

Quick User guide

After you deploy the mini bridge following the Thanos stack deployment guide, you will get the public domain of that bridge where you can move assets across Layer1 and Layer2.

Wallet connect

  1. First things first, you can connect your account by clicking Connect Wallet button to use the bridge.

  1. After you connect your account into the bridge app, you can change the network(L1 & L2) connected and also able to see the token balance of your account.

Deposit(L1 → L2)

  1. Click the Deposit tab or set the L1 network chain connected to deposit tokens to the L2 network.

  2. Select the token and input the amount to deposit. To address is the address to be deposited; it is your current account as a default, but you can put another account if needed. (pic1: connected account, pic2: another account)

  1. Click Deposit button for ETH deposit and you will need to approve them in case of the other tokens (Native token, USDT, USDC). After the transaction has been confirmed, you will get the link of that transaction.

Withdraw(L2 → L1)

The withdrawal process contains 3 steps (initiate, prove, finalize) based on Optimistic rollup.

  1. Initiate

    1. You can initiate a withdrawal transaction by clicking Withdaw → Initiate tab and the operations(token selection, input amount, input address to send, etc) are same as what we did for the deposit process.

    2. After the transaction has been confirmed, you will get the Tx hash which will be used for prove and finalize process.

  2. Prove

    b. Once the transaction is ready to prove, you are ready to prove it. Click Prove tab and input the hash of the initiated transaction. Click Prove button.

  3. Finalize

    1. Check the status of your withdrawal transaction in Layer2 block explorer and it should be Ready for relay to be finalized.

    2. Go to Finalize tab and input the hash of the initiate transaction. Click Finalize button.

You can check the status of your withdrawal transaction in that you deployed in the previous rollup deployment steps.

⚙️
Layer2 block explorer