diff --git a/docs.md b/docs.md index dbcf8ab..75c73d0 100644 --- a/docs.md +++ b/docs.md @@ -45,13 +45,36 @@ This command will generate a response every second, indicating the `ping` speed ```bash $ ping 192.168.1.101 - PING 192.168.1.101 (192.168.1.101) 56(84) bytes of data - 64 bytes from 192.168.1.101: icmp_seq=1 ttl=64 time=131 ms - 64 bytes from 192.168.1.101: icmp_seq=2 ttl=64 time=2.40 ms - ``` -If you do not see a similar response in the shell, your machines are not able to connect (or ping is prevented via firewall). \ No newline at end of file +If you do not see a similar response in the shell, your machines are not able to connect (or ping is prevented via firewall). + +## Part I: Creating A Hush Smart Chain + +With your machines successfully able to `ping` each other, you are ready to create your first Hush Smart Chain! + +The following instructions use the simplest possible set of parameters in creating a new Smart Chain: a coin wit +h the ticker symbol `LULZ`, `55555` pre-mined coins, and a block reward of `.0001`, the default. + +On your first node, change into the directory where Komodo's `komodod` and `komodo-cli` are installed and execute the following commands in the terminal: + +```bash +./hush-smart-chain -ac_name=LULZ -ac_supply=55555 -addnode= & +``` + +### Verify the Response + +After issuing this command in the terminal on both machines, you will find the p2p port in the terminal window. + +```bash +>>>>>>>>>> LULZ: p2p.6969 rpc.6970 magic.c89b00b16 3365559062 55555 coins +``` + +In the above string, take note of the p2p and RPC ports, as well as the magic number. These values must match on both nodes for the chains to be identical. If they are not the same, verify that the launch command is the same on both the nodes. + +In the example above, the p2p port is `6969`. Make sure that the p2p port is open to the internet or any other network from which the second node connects. + +This completes the first half of the Smart Chain creation process. \ No newline at end of file