Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
108 lines (59 sloc) 3.23 KB

Installing KMDICE on Windows 64-bit systems

PLEASE FOLLOW THE VIDEO TUTORIAL: https://youtu.be/gfZZy8b222E

  1. First download komodo windows binaries and place the files in a new folder on the Desktop called kmd ('C:\Users\YourUserName\Desktop\kmd') .

Open a Command Prompt for the following steps.

  1. Next we'll create the Komodo directory in the AppData directory.
mkdir "%HOMEPATH%\AppData\Roaming\komodo"
  1. Next we will create our komodo.conf file.
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.

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 and verifying key. While the keys are downloading let's paste following command to create the directory for ZcashParams:

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

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

move “%HOMEPATH%\Downloads\sprout-proving.key” “%HOMEPATH%\AppData\Roaming\ZcashParams” && move “%HOMEPATH%\Downloads\sprout-verifying.key” “%HOMEPATH%\AppData\Roaming\ZcashParams”
  1. Now we can run KMDICE
"%HOMEPATH%\Desktop\kmd\komodod.exe -ac_name=KMDICE -ac_supply=10500000 -ac_reward=2500000000 -ac_halving=210000 -ac_cc=2 -addressindex=1 -spentindex=1 &"
  1. Komodod should start syncing. You can check progress by running
"%HOMEPATH%\Desktop\kmd\komodo-cli.exe" -ac_name=KMDICE getinfo
  1. To activate CC and be able to play KMDICE you need to get a newaddress
"%HOMEPATH%\Desktop\kmd\komodo-cli.exe" -ac_name=KMDICE getnewaddress
  1. Validate the new address with validateaddress:
"%HOMEPATH%\Desktop\kmd\komodo-cli.exe" -ac_name=KMDICE validateaddress <ADDRESS>

Copy the pubkey in the validateaddress output and then stop kmdice daemon

To stop komodod, run:
"%HOMEPATH%\Desktop\kmd\komodo-cli.exe" -ac_name=KMDICE stop
  1. Restart KMDICE daemon with -pubkey parameter:
%HOMEPATH%\Desktop\kmd\komodod.exe -ac_name=KMDICE -ac_supply=10500000 -ac_reward=2500000000 -ac_halving=210000 -ac_cc=2 -addressindex=1 -spentindex=1 -pubkey=<YOURPUBKEY> &

Downloads:

  1. Windows Binaries: https://artifacts.supernet.org/latest/windows
  2. Zk-snark proving keys: https://z.cash/downloads/sprout-proving.key
  3. Verifying keys: https://z.cash/downloads/sprout-verifying.key