Giter Site home page Giter Site logo

geth-private-network's Introduction

geth-private-network

Deploy a private geth network on Debian

Nonce Generation

openssl rand -hex 8

SSH into the node, retrieve the enode URL. This will be the bootnode enode for the other node.

journalctl -u geth | grep enode | grep -o -E 'enode://.+discport=0'

For [::], fill in the IP of the other node

Put the nonce, nodename and allocation Ethereum address in the hosts file like so

bootnode parameter is currently not working.

Let's encrypt has a strict rate limit. Use staging environment while developing.

[geth_node]
X.X.X.X nodename={node name} miners={thread number}

[geth_node:vars]
bootnode=enode://{pubkey}@{ip}:30303?discport=0
nonce="0x{16 hex character}"
alloc_address="0x{ether address}"
networkid={integer}
domain={domain for caddy reverse proxy}
geth_verbosity=3
letsencrypt_staging=True

Run the playbook

ansible-playbook site.yml -i hosts

Reference

https://media.consensys.net/how-to-build-a-private-ethereum-blockchain-fbf3904f337

geth-private-network's People

Contributors

justuswilhelm avatar shundev avatar

Watchers

James Cloos avatar  avatar  avatar  avatar Maruyama Takeshi avatar y.shige avatar K.Sugahara avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.