How to Install Agama on Windows using Command Line

How to Install Komodod (non-gui) on Windows 


PLEASE CHECK THE VIDEO TUTORIAL




OR FOLLOW THE STEPS BELOW:


1. First download komodo windows binaries and extract the archive. Place the extracted folder "kmd_win_bins.zip" in the desktop 'C:\Users\YourUserName\Desktop\'. (Rename the folder to kmd in order to make it simpler to reach through the cmd)


Open a Command Prompt for the following steps.


2. Next we'll create the Komodo directory in the AppData directory.

C#

mkdir "%HOMEPATH%\AppData\Roaming\Komodo"


3. Next we will create our komodo.conf file.


HTML

notepad “%HOMEPATH%\AppData\Roaming\Komodo\komodo.conf”


When Notepad opens click Yes to create the komodo.conf file. Copy the information below and paste it into Notepad. 


C#

rpcuser=yourRpcUserName
rpcpassword=yourSecurePassword
daemon=1
rpcallowip=127.0.0.1
rpcbind=127.0.0.1
server=1
listen=1
addnode=5.9.102.210
addnode=78.47.196.146
addnode=178.63.69.164
addnode=88.198.65.74
addnode=5.9.122.241
addnode=144.76.94.38
txindex=1
maxconnections=1



After pasting, save and exit Notepad.


4. So now that you have created your komodo.conf file you are ready to download the zk-snark proving key; verifying key


While the keys are downloading let's paste following command to create the directory for ZcashParams:

HTML

mkdir “%HOMEPATH%\AppData\Roaming\ZcashParams”


One the keys have finished downloading we'll paste this command to move the keys to our newly created ZcashParams directory:

HTML

move “%HOMEPATH%\Downloads\sprout-proving.key” “%HOMEPATH%\AppData\Roaming\ZcashParams” && move “%HOMEPATH%\Downloads\sprout-verifying.key” “%HOMEPATH%\AppData\Roaming\ZcashParams”


5. Now we can run komodod.exe

HTML

"%HOMEPATH%\Desktop\non-gui\komodod.exe"



6. Komodod should start synching. You can check progress by running 

HTML

"%HOMEPATH%\Desktop\non-gui\komodo-cli.exe" getinfo



7. To stop komodod, run: 

C#

"%HOMEPATH%\Desktop\non-gui\komodo-cli.exe" stop



Downloads:

Windows Binaries: https://github.com/SuperNETorg/Agama/releases/download/v0.2.0.2a-beta/non-gui-win.zip

Zk-snark proving keys: https://z.cash/downloads/sprout-proving.key

Verifying keys: https://z.cash/downloads/sprout-verifying.key


For windows, all commands must have All commands must have `komodo-cli.exe` in front of it.
Example: pty:~/C:user/username/komodo: komodo-cli.exe getinfo


10 Main Commands


1. komodo-cli.exe getinfo (Checking current block and balance information)

C#


{
    "version" : 1000550,
    "protocolversion" : 170002,
    "KMDversion" : "0.1.0",
    "notarized" : 186670,
    "notarizedhash" : "000000308845da840ab9af6c1e09dc02f3118683df065b5ec00b05c9bd58cdae",
    "notarizedtxid" : "6723a10ef4fceab230d4245305d1ed2a916e435abb83269c20daad9bbefd3f0e",
    "notarizedtxid_height" : "mempool",
    "notarized_confirms" : 0,
    "walletversion" : 60000,
    "balance" : 0,
    "interest" : 0,
    "blocks" : 186773,
    "longestchain" : 308867,
    "timeoffset" : 0,
    "tiptime" : 1486411069,
    "connections" : 8,
    "proxy" : "",
    "difficulty" : 1624278.62879530,
    "testnet" : false,
    "keypoololdest" : 1482746526,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : ""


2. komodo-cli.exe getnewaddress (Create new Komodo address)


3. komodo-cli.exe backupwallet destination (Save your wallet.dat to particular destination)


4. komodo-cli.exe dumpprivkey Komodoaddress (Dump privatekey)


5. komodo-cli.exe listaddressgroupings (List all group of addresses with common ownership and inputs)


6. komodo-cli.exe importprivkey Uxxxxxxxxx (Import your Komodo privatekey)


7. komodo-cli.exe getbestblockhash (Get the latest block hash)


8. komodo-cli.exe sendtoaddress Rxxxxxxxx 0.01  (Send Transaction to address) 

C#

(Example: komodo-cli.exe sendtoaddress Rxxxxxxxxxxxxx 100)


9. komodo-cli.exe help (See all commands)


10. komodo-cli.exe stop (Stop komodod)

           


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



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

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.