From c4e727ec65796eb22d80deef7bf75d3c9f2dc2d3 Mon Sep 17 00:00:00 2001 From: Mausam Bahar <112115729+Sheepy01@users.noreply.github.com> Date: Sun, 22 Sep 2024 13:41:18 +0530 Subject: [PATCH] Update setup-part-1.md The command: '''./keygen -secp256k1 -json -net="testnet" > ~/popm-address.json''' was generating the json file in the home directory. I modified it to do the same in the current directory --- how-to-tutorials/tutorials/setup-part-1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/how-to-tutorials/tutorials/setup-part-1.md b/how-to-tutorials/tutorials/setup-part-1.md index 69008c3..e42755e 100644 --- a/how-to-tutorials/tutorials/setup-part-1.md +++ b/how-to-tutorials/tutorials/setup-part-1.md @@ -138,7 +138,7 @@ Environment: Start by generating your public key, your identifier on the Hemi Network. -
Linux & macOS

⚠️ On Mac you will need to remove the quarantine by running:

xattr -d com.apple.quarantine ./keygen

Run the following command:

./keygen -secp256k1 -json -net="testnet" > ~/popm-address.json
+
Linux & macOS

⚠️ On Mac you will need to remove the quarantine by running:

xattr -d com.apple.quarantine ./keygen

Run the following command:

./keygen -secp256k1 -json -net="testnet" > ./popm-address.json 
 
Windows

⚠️ Important Note for Windows Users: To successfully execute this command, you must use the Command Prompt, not PowerShell (which is the default terminal in environments like Visual Studio Code). Follow these steps to open Command Prompt:

  1. Click on the Start Menu button or press the Windows key on your keyboard.
  2. Type cmd into the search bar and open it.
  1. Type the following command and press Enter:

    keygen.exe -secp256k1 -json -net="testnet" > %HOMEDRIVE%%HOMEPATH%\popm-address.json
     

Note: After running the command, you might not see any immediate feedback in the Command Prompt. This is expected behavior.

  1. Open the Generated Key File

After generating the key file, you'll want to check its contents. To do this, use the following command in Command Prompt:

%HOMEDRIVE%%HOMEPATH%\popm-address.json
 

This command opens the popm-address.json file in Notepad, allowing you to view or edit the generated key.