From EVM to Secret
Learn how to send testnet USDC from EVM to Secret Network using Axelar
Installing the dependencies
Create a new package.json file and install axelarjs
Add type "module" to package.json:
Creating the deposit address
Create a new file named evm-to-secret.js
(or whatever you would like to name it) and add the following code to create an Axelar deposit address:
Make sure you have the correct asset for testnet. You can either send USDC or AXL cross-chain . Also make sure to update destinationAddress
with your Secret testnet wallet address 🤗
Run node evm-to-secret
to execute createDepositAddress
:
A deposit address will be returned in your terminal:
Sending USDC from EVM to Secret Network
Add the Sepolia USDC token to your wallet. Sepolia USDC token contract address:
See all USDC token addresses in the Axelar docs.
Fund your wallet with testnet Sepolia USDC by bridging AXL to sepolia USDC.
First, go to the Axelar discord faucet channel and request testnet tokes from the faucet:
Then, send testnet USDC from your Axelar wallet address to your Sepolia address using Axelar Satelite:
Now, simply send Sepolia USDC from your wallet to the deposit address that you created earlier!
You can track your token transfer's status on Axelarscan
Summary
Congrats! You've successfully sent cross-chain USDC from Sepolia testnet to Secret Network using Axelarjs! If you have any questions, ping dev-issues on Discord and a developer from the Secret community will assist you shortly.
Last updated