Redeem AXL from an EVM chain
Redeem AXL tokens from an EVM chain to Axelar using the terminal.
Prerequisites
- Skill level: intermediate
- Prerequisites for Send AXL to an EVM chain
Redeem AXL tokens from an EVM chain
Link your Axelar my_account
account to a new temporary deposit address on the EVM chain:
axelard tx evm link {EVM_CHAIN} axelarnet {MY_ADDR} uaxl --from my_account
Output should contain
successfully linked {EVM_TEMP_ADDR} and {MY_ADDR}
Optional: query your new {EVM_TEMP_ADDR}
:
axelard q nexus latest-deposit-address {EVM_CHAIN} axelarnet {MY_ADDR}
Use Metamask to send some wrapped AXL tokens on {EVM_CHAIN}
to the new temporary deposit address {EVM_TEMP_ADDR}
. Save the transaction hash {EVM_TX_HASH}
for later.
Danger: Send only Axelar
ERC20 tokens to {EVM_TEMP_ADDR}
. Any other token sent to {EVM_TEMP_ADDR}
will be lost.
Note: Third-party monitoring tools will automatically complete the remaining steps of this process.
Wait a few minutes then check your Axelar my_account
account AXL token balance as per Basic node management.
Caution: If you attempt the remaining steps while third-party monitoring tools are active then your commands are likely to conflict with third-party commands. In this case you are likely to observe errors. Deeper investigation might be needed to resolve conflicts and complete the transfer.
The remaining steps are needed only if there are no active third-party monitoring tools and you wish to complete the process manually.
Do not proceed to the next step until you have waited for sufficiently many block confirmations on the EVM chain. Block confirmation minimums can be found at Testnet resources, Mainnet resources.
Confirm the EVM chain transaction on Axelar.
axelard tx evm confirm-erc20-deposit {EVM_CHAIN} {EVM_TX_HASH} {AMOUNT} {EVM_TEMP_ADDR} --from my_account
Wait for confirmation on Axelar.
Optional: Search the axelar-core logs for confirmation:
tail -f $AXELARD_HOME/logs/axelard.log | grep -a -e "deposit confirmation"
Create and sign pending transfers for {EVM_CHAIN}
.
axelard tx evm create-burn-tokens {EVM_CHAIN} --from my_address
axelard tx evm sign-commands {EVM_CHAIN} --from my_address
Output should contain
successfully started signing batched commands with ID {BATCH_ID}
Get the execute_data
:
axelard q evm batched-commands {EVM_CHAIN} {BATCH_ID}
Wait for