GithubHelp home page GithubHelp logo

docker-zen-node's Introduction

Docker Zencash Secure Node

This repository will help you setup a zencash node with a single bash script.

The script will install Docker on a fresh Ubuntu VM and provision the following containers:

acme.sh will run as a docker container and auto-renew your SSL certificates when required.

Requirements

You will need a VPS with at least 4GB ram (swap is OK) to run a Zencash secure node. You may use my DigitalOcean referral link to get $10 free credit https://m.do.co/c/afbafb6012b6

The script has been tested with Ubuntu 16.04 but should work on any other Linux distribution.

You will also need a domain name to point to your VPS.

Installation

Invoking the script is best done on a fresh installation. Re-running the install script should not cause any issues.

git clone https://github.com/WhenLamboMoon/docker-zen-node
./install.sh stakeaddr email fqdn region
  • Stakeaddr is the transparent address which has your 42 ZEN
  • Email is your notification email address should your node have issues
  • FQDN is the hostname which must point to the IP address of your server
  • Region must either be eu, na or sea

Example:

./install.sh ztjcr2DSYhMZZ3WFFeoK2hDxhmK4VP3QcgK [email protected] zennode.example.com sea

The script will install the required dependencies and deploy the three containers on your host.

acme.sh is used to provision and maintain a valid SSL certificate on your domain.

The script should execute successfully when you see the output similar to this:

## Generating shield address for node...

ztSpgr2Yat7zSMiLNHtyDKGajzSesxabQsRwJnqtomDJU9wd6LzZppnQJyYiNE8sJDEy5MyTiMrSjf3bWcMKgtF9xcEY4eA

This will be the shield address you need to send 1 ZEN in order for your start accepting challenges.

After you send your 1 ZEN, you may check your node private balance:

docker exec zen-node gosu user zen-cli z_gettotalbalance

Please Note: It may take up to 1-2 hours for your VPS to fully update to the latest block.

You may check the latest block status with the following command:

docker exec zen-node gosu user zen-cli getinfo

Troubleshooting

If you need to execute commands with zen-cli you will need to append the following:

docker exec zen-node gosu user zen-cli

This is because zend is run as a non-root user using gosu. Removing gosu user will return you an error due to missing config files.

Donations

Donations are appreciated:

BTC 1FN8PRaY3CTNVZy2Fbix9fHK2ASwJ4zeys

ETH 0x4f78813f23f443deb75a5267bed8c282b74f571b

ZEN znZ2NFrmV6jaiq1hEnKxzApKzgGqptZNq7o

docker-zen-node's People

Contributors

333miiko avatar

Watchers

Michael Madison avatar James Cloos 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.