Skip to content

Instantly share code, notes, and snippets.

@meyer9
Last active May 8, 2019 01:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meyer9/d0c167f32524face7ef1e2eaa401b5b6 to your computer and use it in GitHub Desktop.
Save meyer9/d0c167f32524face7ef1e2eaa401b5b6 to your computer and use it in GitHub Desktop.
Phore Synapse Key Generation

Steps for Synapse Testnet

DEADLINE: Friday, May 10, 2019 at 9 PM PST

This document details the steps required to register validators for the Synapse testnet. Note that the main net will use a different method of registering validators based on deposits from the current Phore chain.

Note that this can be run on your local computer. All this program does is generate a file with public keys for your validator block.

Step 1: Generate a random key

Generate some random text to act as your key. Keep your key safe. I'd suggest just coming up with a key phrase and hashing it using this tool.

Step 2: Download the keygen program for your platform

Download the appropriate binary for your platform (64-bit only currently) from here: https://github.com/phoreproject/synapse/releases/tag/v0.1.0

Step 3: Run the keygen program

Navigate to the folder where the binary was downloaded. An easy way to do this is by typing cd into a command prompt and dragging in the downloads folder. Then, run one of the commands below, replacing your root key with the key you generated and your validator range with the one Julian gave you.

Linux:

./keygen-linux-amd64 -rootkey YOURKEY -validators 1024-1167

OSX:

./keygen-darwin-10.6-amd64 -rootkey YOURKEY -validators 1024-1167

Windows:

keygen-windows-4.0-amd64.exe -rootkey YOURKEY -validators 1024-1167

Step 4: Send to Julian on Discord/Telegram

This should generate a file called validator.pubs. Send that file to Julian on Discord/Telegram.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment