Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update claim.html to make version x.x.x #3

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions claim/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,20 @@ <h1>Claim HNS</h1>

<section class="light claim"><div class="section-wrapper"><div>
<p><a href="https://github.com/handshake-org/hs-airdrop">Detailed information available in the hs-airdrop README.md file.</a></p>
<p><b>These instructions generates a signed proof of ownership of a public key. Please be careful about using other software or giving away your private key to others, as they would be able to generate proofs on your behalf. Handshake is an experiment in decentralized allocation of ownership of the network to the open source community. If this model is successful, people may replicate this distribution model in distribution of ownership to Open Source Developers and Organizations, giving away your private key prevents you from claiming on other systems. This HNS airdrop is a native limited resource used to register top-level domains and usernames (a limited resource is needed in decentralized naming systems, as a single bad actor would register all useful names in existence if no limited resources existed).</b></p>
<p><b>These instructions generate a signed proof of ownership of a public key. Please be careful about using other software or giving away your private key to others, as they would be able to generate proofs on your behalf. Handshake is an experiment in decentralized allocation of ownership of the network to the open source community. If this model is successful, people may replicate this distribution model in distribution of ownership to Open Source Developers and Organizations, giving away your private key prevents you from claiming on other systems. This HNS airdrop is a native limited resource used to register top-level domains and usernames (a limited resource is needed in decentralized naming systems, as a single bad actor would register all useful names in existence if no limited resources existed).</b></p>
<p>This page explains how <b>github developers with over 15 followers on February 2019</b>, or in the <b>PGP WoT Strong Set</b> can claim HNS. Being able to claim does NOT imply that one is a "top open source developer", this system was optimized for a list of previously scrapeable keys (and could not be modified after the Handshake network launches without a hard fork).</p>
<h2>System Setup</h2>
<p>Please read through these instructions carefully, as using cryptographic blockchains are a bit unusual.</p>
<p>Make sure you have nodejs and npm installed first. On MacOS, please install <a href="https://brew.sh">homebrew</a> and run "<b>brew install node</b>". On debian/ubuntu, you can run "<b>sudo apt-get install nodejs npm build-essential</b>". If you run other distributions or OSes, you can probably figure this part out.</p>
<p>Next, install node-gyp: <b>npm install node-gyp</b></p>
<h2>Download</h2>
<p>Download <b>hsd</b>, <b>hs-client</b>, and <b>hs-airdrop</b> from <a href="https://handshake.org/download/">https://handshake.org/download/</a>. If downloaded from github, the directory structure is slightly different (hsd-2.0.2/hsd should be replaced with just hsd in these instructions).</p>
<p>Download <b>hsd</b>, <b>hs-client</b>, and <b>hs-airdrop</b> from <a href="https://handshake.org/download/">https://handshake.org/download/</a>. If downloaded from github, the directory structure is slightly different (hsd-2.0.2/hsd or other version number direcory should be replaced with just hsd in these instructions).</p>
<p>Extract hsd, hs-client, and hs-airdrop: <b>tar xvf hs*</b></p>
<p>You may also verify the asc file if desired.</p>
<h2>Install</h2>
<p>In one window, change into the hsd directory and install <b>cd hsd-2.0.2/hsd</b> and then run <b>npm install --production</b></p>.
<p>In the second window, change into the hs-client directory and install <b>cd hs-client-0.0.8/hs-client</b> and then run <b>npm install --production</b></p>
<p><i>(Please note, x.x.x = version number below)</i></p>
<p>In one window, change into the hsd directory <b>cd hsd-x.x.x/hsd</b> and then install by running <b>npm install --production</b></p>.
<p>In the second window, change into the hs-client directory and install <b>cd hs-client-x.x.x/hs-client</b> and then run <b>npm install --production</b></p>
<h2>Run hsd</h2>
<p>hsd is the handshake fullnode and will sync with the network</p>
<p>To connect, in the first window run: <b>./bin/hsd --log-level info</b></p>
Expand All @@ -115,12 +116,12 @@ <h2>Get your address</h2>
<p>To save a copy of your private key, write down the output of the 12 word phrase on a piece of paper (do not save it in the cloud anywhere): <b>./bin/hsw-cli master | grep phrase</b></p>
<h2>Claim your HNS</h2>
<p>In the second window, go to the hs-airdrop directory and install hs-airdrop:</p>
<p><b>cd hs-airdrop-0.7.1/hs-airdrop</b></p>
<p><b>cd hs-airdrop-x.x.x/hs-airdrop</b></p>
<p>Then install the dependencies: <b>npm install --production</b></p>
<p>Check if your key is in the airdrop. Replace id_rsa with the location of your key you want to check and the hs1XXXX string with the public address you generated earlier. Please see the hs-airdrop README.md file for more information.</p>
<p><b>./bin/hs-airdrop ~/.ssh/id_rsa hs1XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</b></p>
<p>This may take a while, as it is trying to find and decrypt a message to your key. If successful you should see a base64 string. A NonceError means your key was not included, you can try another key.</p>
<p>If you have a base64 string, you can broadcast it to the network by going back to hs-client (<b>cd hs-client-0.0.8/hs-client</b>) and typing (replace BASE64_STRING with the string dumped from hs-airdrop): <b>./bin/hsd-cli rpc sendrawairdrop BASE64_STRING</b></p>
<p>If you have a base64 string, you can broadcast it to the network by going back to hs-client (<b>cd hs-client-x.x.x/hs-client</b>) and typing (replace BASE64_STRING with the string dumped from hs-airdrop): <b>./bin/hsd-cli rpc sendrawairdrop BASE64_STRING</b></p>
<p>You should see it return a hex hash if successful. In an hour or two you should see it propogate over the network. You can see the updated balance by running: <b>./bin/hsw-cli balance</b></p>
<p>You can also try searching for your hs1 address balance by googling/searching: <b>hns block explorer</b> in your web browser and pasting in your hs1 address.</p>
<h2>Bidding on names</h2>
Expand Down