October 16, 2019, We recommend that you wait for installers which we are developing before attempting to install and use jormungandr on Windows. These instructions will likely not work for you. If you are still keen to run jormungandr on windows you can try using git bash which allows you to enter Linux commands found in the Linux articles on this site but we do not support the use of Git Bash here.
How to send a Certificate to the blockchain using a script (Windows)
Windows users should use PowerShell and not CMD for executing these commands.
1.1 Open the
scripts section from jormungandr-qa github repository -->https://github.com/input-output-hk/jormungandr-qa/tree/master/scripts
1.2 Locate the
send-certificate.sh script on the left menu and
right click on it; Select
Save link as option from the right-click menu (as below);
1.3 Save the script in the same location where you saved the node configuration (node-config.yaml) file
GitBash in the same location where you have the script and the node-config.yaml file
- open the folder where you saved the files, right click on the screen (on an empty space) and select
GitBash Here--> Gitbash will open;
Execute the commands from the next steps in
GitBash (from the location where the script is saved).
2.2 Check the parameters required by the script
$ bash send-certificate.sh --help usage: send-certificate.sh <CERTIFICATE-PATH> <REST-LISTEN-PORT> <ACCOUNT-SOURCE-SK> <CERT-PATH> Path to a readable certificate file <REST-PORT> The REST Listen Port set in node-config.yaml file (EX: 3101) <SOURCE-SK> The Secret key of the Source address
2.3 Execute the script
- In the below command, for the --host parameter, make sure to use the same value you used in node configuration (node-config.yaml) for the rest/listen parameter.
- In the below command, we suppose that the signed certificate (the file named
stake_pool.signcert) is in the same location with the
bash send-certificate.sh stake_pool.signcert 3101 ed25519e_sk1nqh6fk0dm9p3tgvqcgt9had