Skip to content

Migrate Token To Mainnet

Enrico Rubboli edited this page Oct 10, 2023 · 4 revisions

This guide will walk you through the process of migrating your ML tokens from the Ethereum/ERC20 network to the Mintlayer network. Please read each step carefully, as this process is irreversible and out of our control.

Important Disclaimers

  • Security: It's highly recommended to use a clean and unplugged system to generate your Mintlayer address.
  • Irreversible Process: Once your ML tokens are burned on the Ethereum network, the action cannot be undone.
  • Responsibility: You are solely responsible for this migration, so make sure to double-check all details and follow instructions carefully.

Pre-requisites

  1. Access to your ERC20 ML tokens.
  2. mintlayer-wallet-address-generator tool installed on your system.

Step 1: Generate a Mintlayer Mainnet Wallet Address

  1. Open a terminal window.
  2. Type the following command:
    user$ mintlayer-wallet-address-generator
  1. Follow the on-screen instructions to generate your Mintlayer mainnet address. The output will look something like this:
    Generating addresses for network: MAINNET
    No seed phrase provided. Generating a new one.
    WARNING: MAKE SURE TO WRITE DOWN YOUR SEED PHRASE AND KEEP IT SAFE!
    ============================Seed phrase=============================
    drift casual consider garage object negative toss vacant maximum stage they clock increase note liar cry alone desert salmon disagree face boy title exhibit
    ====================================================================
    
    Your address(es) are:
    - mtc1qyy6ggpq966pxrgdeq3ak2zza3hxrezgpycv6nm0

You can recognize a Mintlayer mainnet address because it starts with mtc1, while a Mintlayer testnet address starts with tml1.

Important: Make sure to save your seed phrase in a secure location.

Step 2: Burn ERC20 ML Tokens

  1. Go to Mintlayer Token Migration Interface or interact directly with the smart contract to burn your ERC20 ML tokens.
  2. Specify the destination address (the Mintlayer mainnet address generated in Step 1). In this example, it's "mtc1qyy6ggpq966pxrgdeq3ak2zza3hxrezgpycv6nm0".

Step 3: Confirm and Wait

  • After burning the ERC20 tokens, they will be available on the Mintlayer mainnet at the specified address upon its launch.

Note: You can repeat the process as many times as you want with as many addresses as you want.

Thank you for following this guide. If you have any issues or questions, feel free to reach out for support.

Clone this wiki locally