Skip to content

Withdraw from the Astria dawn Testnet

Withdrawal commands from Astria dawn Testnet to Celestia, Noble, and Stride Testnets.

You will need the astria-cli, celestia-appd, nobled and strided installed. Follow the install steps here.

You can export the following to make the commands below easily copy and pastable.

bash
export ASTRIA_ADDRESS="<your-astria-address>"
export PRIV_KEY="<your-astria-address-private-key>"
export CELESTIA_KEY_NAME="<name-of-your-celestia-key>"
export CELESTIA_ADDRESS="<your-celestia-address>"
export NOBLE_KEY_NAME="<name-of-your-noble-key>"
export NOBLE_ADDRESS="<your-noble-address>"
export STRIDE_KEY_NAME="<name-of-your-stride-key>"
export STRIDE_ADDRESS="<your-stride-address>"

Withdraw from Astria

bash
astria-cli sequencer ics20-withdrawal \
    --amount 1000 \
    --destination-chain-address=$CELESTIA_ADDRESS \
    --source-channel channel-0 \
    --private-key=$PRIV_KEY \
    --sequencer-url=https://rpc.sequencer.dawn-1.astria.org/ \
    --sequencer.chain-id dawn-1 \
    --asset transfer/channel-0/utia \
    --fee-asset transfer/channel-0/utia
bash
astria-cli sequencer ics20-withdrawal \
    --amount 1000 \
    --destination-chain-address=$NOBLE_ADDRESS \
    --source-channel channel-1 \
    --private-key=$PRIV_KEY \
    --sequencer-url=https://rpc.sequencer.dawn-1.astria.org/ \
    --sequencer.chain-id dawn-1 \
    --asset transfer/channel-1/uusdc \
    --fee-asset transfer/channel-0/utia
bash
astria-cli sequencer ics20-withdrawal \
    --amount 1000 \
    --destination-chain-address=$STRIDE_ADDRESS \
    --source-channel channel-2 \
    --private-key=$PRIV_KEY \
    --sequencer-url=https://rpc.sequencer.dawn-1.astria.org/ \
    --sequencer.chain-id dawn-1 \
    --asset transfer/channel-3/stutia \
    --fee-asset transfer/channel-0/utia

View Transactions on Astrotrek

Go to https://dawn.astrotrek.io/account/<your-astria-account>?tab=transactions to see the withdrawal transactions. You can also search the returned transaction hash directly in Astrotrek.

View Transactions on Mintscan

If you bridge out to an IBC chain, you can view your transactions by visiting the following:

  • https://www.mintscan.io/celestia-testnet/address/<your-celestia-address>
  • https://www.mintscan.io/noble-testnet/address/<your-noble-address>

You can also go directly to Mintscan and search for the txhash that is returned after sending your transaction, but it is recommended to view your address transaction history as this will show if an acknowledgement for your transfer was received.

Check your Testnet Balances

bash
astria-cli sequencer balance get $ASTRIA_ADDRESS --sequencer-url https://rpc.sequencer.dawn-1.astria.org/
bash
celestia-appd query bank balances $CELESTIA_ADDRESS --node=https://rpc-mocha.pops.one:443 --chain-id mocha-4
bash
nobled query bank balances $NOBLE_ADDRESS --node https://noble-testnet-rpc.polkachu.com:443
bash
osmosisd query bank balances $OSMOSIS_ADDRESS --node https://osmosis-testnet-rpc.polkachu.com:443
bash
strided query bank balances $STRIDE_ADDRESS --node https://stride-testnet-rpc.polkachu.com:443
bash
cast balance --rpc-url https://rpc.flame.dawn-1.astria.org $FLAME_ADDRESS