Tokamak Network Documents
  • Docs
  • Getting Started
  • Languages iconEnglish
    • 한국어

›Basic

Learn

    Basic

    • Tokamak Network
    • Interoperability
    • Convenience
    • Comparison with Other Solutions

    Advanced

    • Design Rationale
    • Plasma EVM Architecture
    • RootChain
    • Child Chain
    • Continuous Rebase
    • Plasma EVM Smart Contracts
    • Examples and Best Practices

    Token Economy

    • TON
    • Child Chain and Staking
    • Token Supply and Distribution
    • PowerTON
    • Transaction Fee
    • Challenge
    • Parameters

Guide

    Getting Started Private Testnet

    • Setup Rootchain
    • Setup Childchain
    • Setup with Puppeth

    Connect Public Testnet

    • Requirements
    • Manually
    • With Puppeth
    • Public Testnet Information

    TON Staking

    • How to Set Operator
    • Private Testnet Staking
    • Rinkeby Testnet Staking
    • How to Commit
Edit

Interoperability - Enter & Exit

Request Transaction

Request refers to transaction that transfers assets or data between root chain and child chain. Types of request transaction are enter/exit, etc.

Enter Request

Enter refers to the transfer of assets or data from the root chain to child chain. For example, ERC20 tokens come into the child chain from Ethereum through enter requests. Tokens should be in requestable forms to enter into the child chain.

etner process

Procedure for the token issued in the root chain to enter the child chain is as follows:

  1. Convert token in Ethereum to a requestable token.
  2. Send a request transaction to enter the child chain using requestable token.
  3. When the request is processed, the token in the root chain are moved from the root chain to the child chain. The balance of the token in the root chain decreases, and the balance of token in the child chain increases.

Exit Request

Exit refers to moving an asset or data from child to root chain. For ERC20 token, exit means to transfer tokens from child chain to root chain.

exit process

Procedure for moving tokens from child chain to root chain is as follows:

  1. Send a transaction that includes an exit request to transfer the requestable token in the child chain to root chain.
  2. When the request is processed, the requestable token in the child chain is transferred to root chain. The balance in the root chain increases, and it decreases in the child chain.
  3. Finally, convert the requestable token back to an ERC20 token.

References

  • Plasma EVM
Last updated on 2020. 3. 5. by aiden0505
← Tokamak NetworkConvenience →
  • Request Transaction
  • Enter Request
  • Exit Request
  • References
Docs
LearnGuides
Community
DiscordTelegramTwitterFacebook
More
Onther BlogOnther GitHub
Tokamak Network
Copyright © 2020 Onther Inc.