Skip to content
This repository has been archived by the owner on Mar 6, 2021. It is now read-only.
/ DNP_ETHCHAIN Public archive

Dappnode package responsible for providing the Ethereum blockchain

License

Notifications You must be signed in to change notification settings

dappnode/DNP_ETHCHAIN

Repository files navigation

⚠️This repo has been deprecated since now the Ethereum clients can be installed independently⚠️

DAppNode Package ETHCHAIN (Core)

Website dappnode.io Documentation Wiki GIVETH Campaign RIOT DAppNode Twitter Follow

Dappnode package responsible for providing the Ethereum blockchain service.

Actually based on version v1.9.8 of Geth and version v2.5.11-stable of Parity

It is an AragonApp whose repo is deployed at this address: 0x30a933d920bc4a71a446a0f15f0e80eaf2383fc9 and whose ENS address is: ethchain.dnp.dappnode.eth

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

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.

Building

$ git clone https://github.com/dappnode/DNP_ETHCHAIN.git
$ docker-compose build
or
$ docker build --rm -f build/Dockerfile -t dnp_ethchain:dev build

Running

Start

$ docker-compose up -d

Stop

$ docker-compose down

Status

$ docker-compose ps

Logs

$ docker-compose logs -f

Note: There is a time drift issue on Docker for Mac, to solve it try running Fixing Time drift issue on Docker for Mac:

$ docker run --rm --privileged alpine hwclock -s

Generating a tar.xz image

xz is required

$ docker save dnp_ethchain:dev | xz -e9vT0 > dnp_ethchain_dev.tar.xz

You can download the latest tar.xz version from here releases.

Loading a Docker image

$docker load -i dnp_ethchain_dev.tar.xz

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Eduardo Antuña Díez - Initial work - eduadiez

See also the list of contributors who participated in this project.

License

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

References

git

docker

docker-compose

Parity

About

Dappnode package responsible for providing the Ethereum blockchain

Resources

License

Stars

Watchers

Forks

Packages

No packages published