How to Transfer ONE Tokens From Shard 0 to Shard 1 Using MetaMask
Harmony is continuing development towards uniform scaling through 1-block composable cross-shard transactions. In our newest update, Mainnet Release v2023.1.0, the hardfork allows for Native ONE Cross-Shard transfer precompile, allowing users to easily send ONE from one shard to another using MetaMask. With 100% of traffic currently on Shard 0, Cross-Shard transactions will enable dApps to launch and drive transaction volume to shards 1, 2, & 3.
In the tutorial below, users will learn how to easily send ONE tokens between shards using MetaMask browser extension wallet.
Step 1: Create a MetaMask wallet and add the extension to your browser of choice. MetaMask currently supports Chrome, Firefox, Brave, Edge, & Opera.
Step 2: Add the Harmony Mainnet Shard 0 network on MetaMask. There are currently two ways to do this:
- You can add the Mainnet Shard 0 network directly through the new Cross-Shard Bridge (details below).
- You can follow the directions shown in Harmony’s Technical Documentation here. The parameters set should reflect the following:
Harmony custom RPC for Shard 0 on mainnet
- Network Name: Harmony Mainnet Shard 0
- New RPC URL: https://api.harmony.one
- Chain ID: 1666600000
- Currency symbol (optional): ONE
- Block Explorer URL (optional): https://explorer.harmony.one
Step 3: Add Harmony Shard 1 Network manually. The parameters set should reflect the following:
Harmony custom RPC for Shard 1 on mainnet
- Network Name: Harmony Mainnet Shard 1
- New RPC URL: https://s1.api.harmony.one
- Chain ID: 1666600001
- Currency symbol (optional): ONE
- Block Explorer URL (optional): https://explorer.harmony.one
Step 4: Purchase ONE tokens using the new Harmony.one/buy page.
Step 5: Navigate to our Cross Shard Bridge.
Step 6: Connect your MetaMask wallet with the Cross Bridge Application.
Step 7: From this screen, you can opt to add the Harmony Shard 0 network if you have not already done so manually. To do this, simply click “Switch MetaMask to Harmony Shard 0 (mainnet)” and follow the prompts. If you have already added the Shard 0 and Shard 1 networks, ensure you have switched MetaMask networks to Shard 0 mainnet and enter your MetaMask address in the “Address” field by clicking “use my address”.
Step 8: Enter the amount of ONE tokens you would like to transfer to Shard 1. I always opt to perform a test transaction before sending the remainder of the funds.
Step 9: Once the transaction has been completed, you can view the details by clicking on the transaction hash to navigate to the Harmony Block Explorer.
Step 10: You can view the completed transaction in your MetaMask by toggling between the Shard 0 and Shard 1 networks.
Simple as that! In the coming weeks, we will add support for Shards 2 & 3. Follow Harmony Protocol on Twitter for more updates.