Withdraw from the Astria Mainnet Alpha
Withdrawal commands from Astria Mainnet to Celestia, Noble, Osmosis, and Stride Mainnets.
You will need the astria-cli, celestia-appd, nobled, osmosisd, and strided installed. Follow the install steps here.
You can export the following to make the commands below easily copy and pastable.
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 OSMOSIS_KEY_NAME="<name-of-your-osmosis-key>"
export OSMOSIS_ADDRESS="<your-osmosis-address>"
export STRIDE_KEY_NAME="<name-of-your-stride-key>"
export STRIDE_ADDRESS="<your-stride-address>"
export NEUTRON_KEY_NAME="<name-of-your-neutron-key>"
export NEUTRON_ADDRESS="<your-neutron-address>"Withdraw from Astria
astria-cli sequencer ics20-withdrawal \
--amount 1000 \
--destination-chain-address=$CELESTIA_ADDRESS \
--source-channel channel-0 \
--private-key=$PRIV_KEY \
--sequencer-url=https://rpc.astria.org/ \
--sequencer.chain-id astria \
--asset transfer/channel-0/utia \
--fee-asset transfer/channel-0/utiaastria-cli sequencer ics20-withdrawal \
--amount 1000 \
--destination-chain-address=$NOBLE_ADDRESS \
--source-channel channel-1 \
--private-key=$PRIV_KEY \
--sequencer-url=https://rpc.astria.org/ \
--sequencer.chain-id astria \
--asset transfer/channel-1/uusdc \
--fee-asset transfer/channel-0/utiaastria-cli sequencer ics20-withdrawal \
--amount 1000 \
--destination-chain-address=$OSMOSIS_ADDRESS \
--source-channel channel-2 \
--private-key=$PRIV_KEY \
--sequencer-url=https://rpc.astria.org/ \
--sequencer.chain-id astria \
--asset transfer/channel-2/factory/osmo1f5vfcph2dvfeqcqkhetwv75fda69z7e5c2dldm3kvgj23crkv6wqcn47a0/umilkTIA \
--fee-asset transfer/channel-0/utiaastria-cli sequencer ics20-withdrawal \
--amount 1000 \
--destination-chain-address=$STRIDE_ADDRESS \
--source-channel channel-3 \
--private-key=$PRIV_KEY \
--sequencer-url=https://rpc.astria.org/ \
--sequencer.chain-id astria \
--asset transfer/channel-3/stutia\
--fee-asset transfer/channel-0/utiaastria-cli sequencer ics20-withdrawal \
--amount 1000 \
--destination-chain-address=$NEUTRON_ADDRESS \
--source-channel channel-4 \
--private-key=$PRIV_KEY \
--sequencer-url=https://rpc.astria.org/ \
--sequencer.chain-id astria \
--asset transfer/channel-4/factory/neutron1ut4c6pv4u6vyu97yw48y8g7mle0cat54848v6m97k977022lzxtsaqsgmq/udtia \
--fee-asset transfer/channel-0/utiaView Transactions on Astrotrek
Go to https://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/address/<your-celestia-address>https://www.mintscan.io/noble/address/<your-noble-address>https://www.mintscan.io/osmosis/address/<your-osmosis-address>https://www.mintscan.io/stride/address/<your-stride-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 Balances
astria-cli sequencer balance get $ASTRIA_ADDRESS --sequencer-url https://rpc.astria.org/celestia-appd query bank balances $CELESTIA_ADDRESS --node=https://celestia-rpc.polkachu.com:443 --chain-id celestianobled query bank balances $NOBLE_ADDRESS --node https://noble-rpc.polkachu.com:443osmosisd query bank balances $OSMOSIS_ADDRESS --node https://osmosis-rpc.polkachu.com:443strided query bank balances $STRIDE_ADDRESS --node https://stride-rpc.polkachu.com:443neutrond query bank balances $NEUTRON_ADDRESS --node https://neutron-rpc.polkachu.com:443cast balance --rpc-url https://rpc.flame.astria.org $FLAME_ADDRESS