Skip to content

Geth version for Görli Testnet. A cross-client proof-of-authority ethereum testnet

License

Notifications You must be signed in to change notification settings

sourcifyeth/DAppNodePackage-goerli-geth

 
 

Repository files navigation

Görli testnet DAppNode package

DAppNodeStore Available

Görli github Görli gitter Görli gitter

Implements the install instructions for the Görli testnet as a DAppNode package

You can use this package without installing it in your dappnode following these instructions:

Prerequisites

  • git

    Install git commandline tool.

  • docker

    Install docker. The community edition (docker-ce) will work. In Linux make sure you grant permissions to the current user to use docker by adding current user to docker group, sudo usermod -aG docker $USER. Once you update the users group, exit from the current terminal and open a new one to make effect.

  • docker-compose

    Install docker-compose

Note: Make sure you can run git, docker ps, docker-compose without any issue and without sudo command.

Buidling

docker-compose build

Running

Start

docker-compose up -d

View logs

docker-compose logs -f

Stop

docker-compose down

Extra options

You can edit the docker-compose.yml and add extra options, such as:

 - EXTRA_OPTS=--wsapi db,eth,net,ssh,miner,web3,personal,admin,txpool

Connect using web3js

If the package is running and you're connected to your dappnode you can use:

var Web3 = require('web3');
var web3 = new Web3('ws://my.goerli-geth.dnp.dappnode.eth:8546')
web3.eth.getBlockNumber().then(console.log)

In case you are running it locally:

var Web3 = require('web3');
var web3 = new Web3('ws://127.0.0.1:8546')
web3.eth.getBlockNumber().then(console.log)

Note

This is early stage software - the testnet is not operational yet

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details

About

Geth version for Görli Testnet. A cross-client proof-of-authority ethereum testnet

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%