Whaleshares Logo

whaleshares witness node manual

fintehPosted for Everyone to comment on, 5 years ago2 min read

whaleshares witness node manual

This manual without Docker or Screen containering
Note: Not run from root user

  1. Connect to your server by ssh. Switch off access to server by password for your safety. More info https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-1604
  2. Make dir of project: mkdir wls
  3. Go inside dir: cd wls
    Download files from https://gitlab.com/beyondbitcoin/whaleshares-chain/tags/. Choose last tag version, please
  4. We download daemon for low memory server: wget https://gitlab.com/beyondbitcoin/whaleshares-chain/uploads/f335563792a34de82c501d018907abc3/whaled_lm.zip
  5. We download cli-wallet: wget https://gitlab.com/beyondbitcoin/whaleshares-chain/uploads/d925d742812654c8ed792c8af3bcfa54/cli_wallet.zip
  6. Unzip it: unzip whaled_lm.zip && unzip cli_wallet.zip
  7. Start daemon: ./whaled_lm
  8. Stop it: ctrl+c
  9. Make step 7 and 8 again
  10. Open file for editing: nano witness_node_data_dir/p2p/node_config.json
  11. Copy value from string "private_key": "11111111111111dddddddddddddaaaaaaaaa"
  12. Open file for editing: nano witness_node_data_dir/config.ini
  13. Paste value of private_key to "p2p-parameters" to "private-key" replace many zero
  14. Paste strings:
    seed-node = seed01.wls.services:2001
    seed-node = seed02.wls.services:2001
    seed-node = 173.212.235.53:2012
    seed-node = seed.whaleshares.bangzi.info:55505
  15. Save your file: ctrl+x
  16. Start daemon again: ./whaled_lm --rpc-endpoint=127.0.0.1:8090
  17. Start cli-wallet in parallel without close daemon: ./cli_wallet
  18. Set_password PASSWORD
  19. Unlock PASSWORD
  20. suggest_brain_key
  21. Copy results to your private file
  22. Stop cli-wallet and daemon: ctrl+c
  23. Open file for editing: nano witness_node_data_dir/config.ini
  24. And paste two strings:
    witness = “ACCOUNTNAME”
    private-key = VALUE of “wif_priv_key” from step 20 or 21
  25. Do step 16 and wait finish of node synchronization
  26. When you see message “Got transactions” - do next step
  27. Do step 17
  28. Unlock PASSWORD
  29. Go to https://whaleshares.io/@ACCOUNTNAME/permissions and copy “Active” private key
  30. In cli-wallet: import_key ACTIVE
  31. Copy pub key from step 21
  32. In cli-wallet and make update with your name, your witness post URL and pub key: update_witness "ACCOUNTNAME" "https://whaleshares.io/witness/@ACCOUNTNAME/my-own-witness-node" "WLS7Lrj8eoMdkNvg6LcQuhzcdTg9gmXD1fvPqFfctPT9NzuVyh3rv" {} true
  33. Done. Have fun!

Sign Up to join this conversation, or to start a topic of your own.
Your opinion is celebrated and welcomed, not banned or censored!