Sending SWTR

Get test SWTR

To obtain some SWTR for testing, you can use our Faucet.

Send SWTR

All swisstronikcli commands accept only bech32 addresses (with theswtr1 prefix). To convert an Ethereum address to a bech32 address, use theswisstronikcli debug convert-address command. Instructions on how to use it can be found here

Once you have SWTR on your balance, you can send them using the following command:

swisstronikcli tx bank send <from_bech32_address_or_key_name> <to_bech32_address> <amount>

If you encounter the error "insufficient gas prices; got: 0 required: 7: insufficient fee", add the additional parameter --gas-prices 7uswtr

The command above will generate a transaction for sending SWTR and will prompt you to confirm it.

Last updated