Swap CLI Commands
Automate trading on Sifdex
Sifnoded CLI allows you to perform swaps by launching the following command:
sifnoded tx clp swap --from <address> --sentSymbol <current token> --receivedSymbol <received token> --sentAmount <send amount --minReceivingAmount <minimum amount>
Note:
If your transaction throw any error, make sure to add the necessary flags. Some of the flags you may need are:
Some useful flags:
--chain-id string
The network chain ID
--fees string
Fees to pay along with transaction
--from string
Name or address of private key with which to sign
--keyring-backend string
Select keyring's backend (os|file|kwallet|pass|test|memory)
--node string
<host>:<port> to tendermint rpc interface for this chain
Last updated