Skip to content

sqli-nantes/rhchain-bootnode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Bootnode for RHChain

Requirments

Tested with

  • Ubuntu 16.04
  • macOS Sierra
  • Geth 1.7

Install

  1. Download and install Bootnode tool

    • On Ubuntu 16.04

      apt-get install -y --no-install-recommends software-properties-common
      add-apt-repository -y ppa:ethereum/ethereum
      apt-get update
      apt-get install -y --no-install-recommends bootnode
      
    • On macOS Sierra (via Homebrew)

      brew update
      brew upgrade
      brew tap ethereum/ethereum
      

      Update ethereum.rb file at /usr/local/Homebrew/Library/Taps/ethereum/homebrew-ethereum Add line bin.install 'build/bin/bootnode' in

      def install
          ENV["GOROOT"] = "#{HOMEBREW_PREFIX}/opt/go/libexec"
          [...]
      end

      Then

      brew install ethereum
  2. Create binaries folder

mkdir bin
  1. Link bootnode to binaries folder
ln -s /usr/bin/bootnode ./bin
  1. Generate bootnode private key (bootnode.priv)
./bin/bootnode -v5 -verbosity 9 -genkey "bootnode.priv"
  1. Create bootnode public key file (bootnode.pub)
./bin/bootnode -v5 -nodekey bootnode.priv -writeaddress > bootnode.pub

Start

./start.sh

Releases

No releases published

Packages

No packages published

Languages