Add ETH, USDC, or USDT through THORWallet using Metamask + Ledger
Last updated
Last updated
Open MetaMask extension. Make sure it is updated to version 10.5.0 or later.
Open βAdvanced Settingsβ in MetaMask and check that βPreferred Ledger Connection Typeβ is set to βWebHID.β
Under MetaMask βMy Accountsβ in the upper right of the extension, select βConnect Hardware Wallet.β
Select Ledger. Connect Ledger to the computer, unlock Ledger, and open the Ethereum app on it.
Make sure to enable "smart contract data" or "blind signing" on the Ledger device. Youβll need this for signing on THORWallet.
Click Continue in the browser. A popup will appear where you have to select your device to pair.
Select the ETH account you wish to import into MetaMask (Ledger Live worked in testing).
Click Unlock. If you get an error, make sure to unlock your Ledger device again, then retry.
This should have now imported your Ledgerβs ETH account into MetaMask.
Go to app.thorwallet.org and click Connect.
If the first time connecting and setting up your Ledger and MetaMask for the Liquidity Auction, you need to create a keystore and associated password that will have a SEPARATE seed phrase from your Ledger device. This keystore will contain the Maya address necessary to connect to the ETH address in your Ledger whose tokens youβre providing to one of the pools (ETH, USDC, USDT).
Not to worry, the process is simple and streamlined.
In the Connect screen, accept the Terms and select the top connection choice named βMetaMask + Supports Maya LAβ.
Select the Create Keystore option.
Choose a keystore password and confirm it. Copy down this seed phrase for safekeeping in case you misplace your keystore file and keystore password later.
Click Download and store the βthorwallet-keystore.txtβ file somewhere secure that you have access to. Youβll need access to it and the keystore password.
Now that you have a keystore file you can connect to your Ledger account in MetaMask in unison with it.
Click Connect, accept the Terms, and select the top connection choice named βMetaMask + Supports Maya LAβ.
Select the Import Keystore option. Select the Keystore file and the Decryption Password you created for it. Click Unlock.
Your Ledger is now connected through MetaMask with the associated keystore file that contains your maya address.
You will not see your maya address when connected with the MetaMask/Ledger option as THORWallet is displaying the Ledger wallet only. To locate your maya address, simply use bottom Keystore import option for connecting to connect and view your maya address from that wallet.
Make sure youβre connected to THORWallet with the MetaMask/Ledger option. Select βMAYA Liquidity Auction from the left tab. Select which Ethereum pool (ETH, USDT, USDC) you wish to add liquidity to.
Select a TIER and an AMOUNT you wish to provide. Make sure you have plenty of ETH to cover gas costs.
As itβs your first time providing this token to THORWallet there may be an extra Approve token Contract step to allow the Smart Contract to execute the contract.
Make sure your Ledger device is unlocked and Approve Contract.
A MetaMask Approve screen will popup with may have a Spending Cap box. Click on MAX, which is the default for token approvals. If you enter a small custom spending cap, you may get stuck in approvals and not be able to complete adding liquidity.
Select Preview to see the Overview. Leave the setting on βUrgentβ to ensure the tx goes through. Check the box and click βAdd Liquidity Nowβ when ready to proceed.
A screen will popup in MetaMask asking you to Confirm the transaction. Make sure your Ledger device is unlocked and in the Ethereum app before clicking Confirm.
Once you click Confirm your Ledger device will need to βVerify Fieldsβ with several approvals and a final Approve + Sign screen. You will need to click through the screens and approve each of them for the full transaction confirmation. There could be as many as 9 fields before the final Approve and Sign screen. This is Ledgerβs approval of all the information in the Confirm screen you are signing to provide liquidity.
You will now see the Pending Transaction. Allow it ample time to complete. You can click βFollow Transactionβ to view the confirmation on Etherscan. Once itβs complete, youβll notice it displays two stacked transactions. The larger of the two is the Etherscan tx.
Select My Pools tab on the left. If you donβt see your position, switch to display the Maya pools. Your pool positions should all appear here.
If you provided to Tier 2 or Tier 3, you could withdraw from the pool anytime during the Liquidity Auction. To do so:
Select the My Pools tab on the left. If you donβt see your position, switch to display the Maya pools. Your pool positions should all appear here.
Select Withdraw on the right. This will withdraw your full position. Click Preview.
This will show an Overview. Click the checkbox and Withdraw Liquidity.
A screen will pop up in MetaMask asking you to Confirm the transaction. Ensure your Ledger device is unlocked and in the Ethereum app before clicking Confirm.
Once you click Confirm, your Ledger device must βVerify Fieldsβ with several approvals and a final Approve + Sign screen. You will need to click through the screens and approve each of them for the full transaction confirmation. There will be several fields to review and sign before the final Approve and Sign screen. This is Ledgerβs approval of all the information in the Confirm screen you are signing to withdraw liquidity.
You will now see the Pending Transaction. Allow it ample time to complete. You can click βFollow Transactionβ to view the confirmation on Etherscan. Once itβs complete, youβll notice it displays two stacked transactions.
Verify that your liquidity has been removed from the pool by clicking on My Pools on the left.
The funds minus router fees should return to your wallet within the hour, sometimes much quicker.
There are high router fees for this withdrawal that are not affiliate fees but on-chain router fees. Be aware that these fees are subtracted from your provided amount so your withdrawal will be less than your current amount provided.
If ETH gas fees (check ether scanβs gas tracker) are high you may want to wait until gas prices come down to minimize the amount of router fees. In particular, USDC and USDT incur noticeably high fees when withdrawn. The good news is later, when you have CACAO, you will be able to withdraw asymmetrically to CACAO, which will incur substantially fewer fees.
Important:
All your transactions are managed by Metamask.
We only use the keystore wallet to get your Maya address.
On every logout (under the settings icon), you have to go through the flow again. You should use one keystore file if you have already created one. Otherwise, you will have multiple Maya addresses.
There is NO CONNECTION between Metamask and keystore. These are 2 DIFFERENT wallets with unique addresses and phrases.