Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ConsenSys/private-networks-deployment-scripts
This repository contains out-of-the-box deployment scripts for private PoA networks
https://github.com/ConsenSys/private-networks-deployment-scripts
docker proof-of-authority sandbox vagrant
Last synced: about 1 month ago
JSON representation
This repository contains out-of-the-box deployment scripts for private PoA networks
- Host: GitHub
- URL: https://github.com/ConsenSys/private-networks-deployment-scripts
- Owner: Consensys
- Archived: true
- Created: 2018-01-19T01:11:54.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-31T13:00:55.000Z (almost 7 years ago)
- Last Synced: 2024-04-04T13:01:19.366Z (9 months ago)
- Topics: docker, proof-of-authority, sandbox, vagrant
- Language: Shell
- Size: 144 KB
- Stars: 46
- Watchers: 16
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- DeFi-Developer-Road-Map - Private networks deployment scripts - Out-of-the-box deployment scripts for private PoA networks (Roadmap)
README
# private-networks-deployment-scripts
This repository contains out-of-the-box deployment scripts for ethereum private PoA networks.
There are 2 sandboxes - vagrant virtual machine and docker container setups, both can be used to create dev environment, initiate and run a private network.
Puppeth network manager is used to create new network and generate genesis file.**The goal** is to create 'out-of-box', 'one-click' solution for setting up new private ethereum network.
In progress:
* Test, test, test ...
* Find out why docker is so slow
* Add netstat
* Use only 1 folder with init-network.sh, try to avoid duplication.
## Running vagrant VM
In the top level directory:
$ cd vagrant-vm
$ vagrant up
$ vagrant ssh
$ sudo -i
$ cd /home/ubuntu/Nnodes/
$ ./init-network.sh
Script will ask you to define a name of future network, amount of nodes, password for each node...
## Running docker container
In the top level directory:
$ cd /home/Nnodes/docker-ctn
$ docker build -t $CONTAINER_NAME .
$ docker run -p 3000:3000 --name $CONTAINER_INSTANCE_NAME -i -t $CONTAINER_NAME
$ cd /home/Nnodes
$ ./init-network.sh
To connect to node console via IPC, please type
$ geth attach ipc:nodes/NODE_NUM/geth.ipc
## Ethereum netstatAdditionally you can run an ether netstat to see your PoA network information.
In the 'Nnodes' directory:
$ cd netstat
$ ./init-netstat.sh
If network successfully started, you will see something like this on http://localhost:3000
![Created network information](https://github.com/ConsenSys/private-networks-deployment-scripts/blob/master/netstat_desktop.png)Please make sure port 3000 is free.