Add ETH, USDC, or USDT through THORWallet using Metamask + Ledger

Importing ETH account from ledger into Metamask

  1. Open MetaMask extension. Make sure it is updated to version 10.5.0 or later.

  2. Open β€œAdvanced Settings” in MetaMask and check that β€œPreferred Ledger Connection Type” is set to β€œWebHID.”

  3. Under MetaMask β€œMy Accounts” in the upper right of the extension, select β€œConnect Hardware Wallet.”

  1. Select Ledger. Connect Ledger to the computer, unlock Ledger, and open the Ethereum app on it.

  1. Make sure to enable "smart contract data" or "blind signing" on the Ledger device. You’ll need this for signing on THORWallet.

  2. Click Continue in the browser. A popup will appear where you have to select your device to pair.

  1. Select the ETH account you wish to import into MetaMask (Ledger Live worked in testing).

  1. Click Unlock. If you get an error, make sure to unlock your Ledger device again, then retry.

  2. This should have now imported your Ledger’s ETH account into MetaMask.

Connecting to THORWallet

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.

  1. In the Connect screen, accept the Terms and select the top connection choice named β€œMetaMask + Supports Maya LA”.

  1. Select the Create Keystore option.

  1. 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.

  1. 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.

  2. Now that you have a keystore file you can connect to your Ledger account in MetaMask in unison with it.

  3. Click Connect, accept the Terms, and select the top connection choice named β€œMetaMask + Supports Maya LA”.

  4. Select the Import Keystore option. Select the Keystore file and the Decryption Password you created for it. Click Unlock.

  5. 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.

Providing Liquidity

  1. 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.

  2. Select a TIER and an AMOUNT you wish to provide. Make sure you have plenty of ETH to cover gas costs.

  1. 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.

  2. Make sure your Ledger device is unlocked and Approve Contract.

  1. 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.

  1. 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.

  1. 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.

  2. 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.

  3. 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.

Check your pool position

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.

Pool withdrawals

If you provided to Tier 2 or Tier 3, you could withdraw from the pool anytime during the Liquidity Auction. To do so:

  1. 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.

  2. Select Withdraw on the right. This will withdraw your full position. Click Preview.

  3. This will show an Overview. Click the checkbox and Withdraw Liquidity.

  1. 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.

  1. 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.

  2. 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.

  1. Verify that your liquidity has been removed from the pool by clicking on My Pools on the left.

  2. The funds minus router fees should return to your wallet within the hour, sometimes much quicker.

Router fees

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.

Last updated