Metamask wallet supports token transfers and contract interactions on the native IoTeX Blockchain.
MetaMask is a browser extension and a mobile app that handles blockchain account management and helps users securely interact with web dApps. It’s supported in Chrome, Brave, and Safari browsers, as well as it is available for Android and iOS devices.
Connecting Metamask to the IoTeX blockchain is as easy as adding a new network in Metamask, and configure it using the IoTeX testnet or mainnet Babel endpoints.
You can use both the Metamask browser plugin or the Metamask mobile app if you want. Here, we will show the instructions for the browser plugin: for the mobile app, the configuration is very similar.
1. Add a custom RPC/Network
In the Metamask browser extension, open the "Networks" drop-down menu at the top, and choose the "Custom RPC" menu item:
2. Mainnet and Testnet network configuration
Input the respective network values for IoTeX Mainnet or IoTeX Testnet (see how to Access the Babel API doc for the actual Network parameters):
3. Save and select the IoTeX network
Click the Save button and make sure IoTeX is selected as the active network:
Import your ioPay wallets to Metamask
If you have IoTeX accounts already set up in ioPay, you can easily import them into Metamask by simply importing their private keys. Ses the sections below to learn how to access the private key in ioPay.
Import an account in Metamask by private key
Please notice that Metamask will show your IoTeX wallet address in the Web3format, so you will see an address starting by"0x..": as long as the private key is the same, that address represents the exact same blockchain account as in ioPay, they just use different formats for the public address representation. Read more...
Access the private key in ioPay mobile
In ioPay mobile, you can display the private key by tapping the little icon in the top right of the screen:
Access the private key in ioPay desktop
In ioPay Desktop, select "Export Keystore", then click "Show Private Key":