Step by Step Guide.



This guide is focused in the CLI commands that can be performed in Agama through the CLI tab. The CLI helps in verifying data and performing functions that are best suited for the CLI version of the wallet. Here we will see examples of the main functions and a full list of the options that can be performed in the CLI.



First open the Settings tab.




Select the CLI tab inside the Settings option.



Select the coin you wish to get calls from enter the command and press the "Execute" to make the call.




Command


- getnewaddress > a new transparent will be generated.





Command


- getinfo > Will display the main information about the chain you are executing.






Command


- dumpprivkey (Komodoaddress) > Will dump or show the private key of the mentioned address.






Command


- importprivkey (PrivatekeyofKomodoAssetchain) > The wallet will import an address which will give you full access to it.






Command


- sendtoaddress (Komodoaddress) Amount  > It will send a transaction to the selected address.



You will see a transaction id (tx id)for the transaction that has been made as showed above.






Command 


- help > will display all the other commands for the CLI. We are leaving a list of the commands below.





Full list of all the commands that the CLI has ,some of them are for private addresses they start with a Z.



All Commands by Section


== Blockchain ==

getbestblockhash

getblock "hash|height" ( verbose )

getblockchaininfo

getblockcount

getblockhash index

getblockheader "hash" ( verbose )

getchaintips

getdifficulty

getmempoolinfo

getrawmempool ( verbose )

gettxout "txid" n ( includemempool )

gettxoutproof ["txid",...] ( blockhash )

gettxoutsetinfo

kvsearch key

kvupdate key value flags/passphrase

minerids needs height

notaries height

paxpending needs no args

paxprice "base" "rel" height

paxprices "base" "rel" maxsamples

verifychain ( checklevel numblocks )

verifytxoutproof "proof"


== Control ==

getinfo

help ( "command" )

stop


== Generating ==

generate numblocks

getgenerate

setgenerate generate ( genproclimit )


== Mining ==

getblocksubsidy height

getblocktemplate ( "jsonrequestobject" )

getlocalsolps

getmininginfo

getnetworkhashps ( blocks height )

getnetworksolps ( blocks height )

prioritisetransaction <txid> <priority delta> <fee delta>

submitblock "hexdata" ( "jsonparametersobject" )


== Network ==

addnode "node" "add|remove|onetry"

clearbanned

disconnectnode "node"

getaddednodeinfo dns ( "node" )

getconnectioncount

getnettotals

getnetworkinfo

getpeerinfo

listbanned

ping

setban "ip(/netmask)" "add|remove" (bantime) (absolute)


== Rawtransactions ==

createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,...}

decoderawtransaction "hexstring"

decodescript "hex"

fundrawtransaction "hexstring"

getrawtransaction "txid" ( verbose )

sendrawtransaction "hexstring" ( allowhighfees )

signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )


== Util ==

createmultisig nrequired ["key",...]

estimatefee nblocks

estimatepriority nblocks

jumblr_deposit "depositaddress"

jumblr_secret "secretaddress"

validateaddress "bitcoinaddress"

verifymessage "bitcoinaddress" "signature" "message"

z_validateaddress "zaddr"


== Wallet ==

addmultisigaddress nrequired ["key",...] ( "account" )

backupwallet "destination"

dumpprivkey "zcashaddress"

dumpwallet "filename"

encryptwallet "passphrase"

getaccount "zcashaddress"

getaccountaddress "account"

getaddressesbyaccount "account"

getbalance ( "account" minconf includeWatchonly )

getnewaddress ( "account" )

getrawchangeaddress

getreceivedbyaccount "account" ( minconf )

getreceivedbyaddress "zcashaddress" ( minconf )

gettransaction "txid" ( includeWatchonly )

getunconfirmedbalance

getwalletinfo

importaddress "address" ( "label" rescan )

importprivkey "zcashprivkey" ( "label" rescan )

importwallet "filename"

keypoolrefill ( newsize )

listaccounts ( minconf includeWatchonly)

listaddressgroupings

listlockunspent

listreceivedbyaccount ( minconf includeempty includeWatchonly)

listreceivedbyaddress ( minconf includeempty includeWatchonly)

listsinceblock ( "blockhash" target-confirmations includeWatchonly)

listtransactions ( "account" count from includeWatchonly)

listunspent ( minconf maxconf  ["address",...] )

lockunspent unlock [{"txid":"txid","vout":n},...]

move "fromaccount" "toaccount" amount ( minconf "comment" )

paxdeposit address fiatoshis base

sendfrom "fromaccount" "tozcashaddress" amount ( minconf "comment" "comment-to" )

sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] )

sendtoaddress "zcashaddress" amount ( "comment" "comment-to" subtractfeefromamount )

setaccount "zcashaddress" "account"

settxfee amount

signmessage "zcashaddress" "message"

z_exportkey "zaddr"

z_exportwallet "filename"

z_getbalance "address" ( minconf )

z_getnewaddress

z_getoperationresult (["operationid", ... ])

z_getoperationstatus (["operationid", ... ])

z_gettotalbalance ( minconf )

z_importkey "zkey" ( rescan startHeight )

z_importwallet "filename"

z_listaddresses

z_listoperationids

z_listreceivedbyaddress "address" ( minconf )

z_sendmany "fromaddress" [{"address":... ,"amount":...},...] ( minconf ) ( fee )

zcbenchmark benchmarktype samplecount

zcrawjoinsplit rawtx inputs outputs vpub_old vpub_new

zcrawkeygen

zcrawreceive zcsecretkey encryptednote

zcsamplejoinsplit



Hope this helped you in your navigation through Agama CLI!



If you face any issues, please create a support ticket. Join us on Komodo Discord to talk to our community.