Giter Site home page Giter Site logo

prysmatic_bazel's Introduction

prysmatic_setup

These scripts modify critical system files and should only be used on a testing machine!

Follow along with this video walkthrough: https://www.youtube.com/watch?v=7qqYHaN2CcY

These scripts are intended to take a clean Ubuntu 18.04 target (server or desktop) and install the prysmatic beacon chain and validator clients.

They will also generate an Ethereum2 wallet address which will display on screen and be saved in the user's home directory.

After setup, upon reboot, two screen instances are launched, "beacon" and "validator". You can interact with these by typing "screen -x validator" and "screen -x beacon" in a terminal. To exit a screen instance, hold the CTRL key and type "A" then "D".

These scripts will also rebuild and restart the beacon chain and validator if they are crashed or exit. To rebuild or restart a service, enter the screen session and type "CTRL C" once to kill the process, it will respawn.

Steps for use:

  1. Install Ubuntu 18.04 on a clean target as a desktop or server. (You can use a virtual machine!)

  2. Open a terminal and run these commands:

    git clone https://github.com/superphiz/prysmatic_setup

    cd prysmatic_setup

    ./setup.sh

    (Reboot)

    cd prysmatic_setup

    ./setup.sh

  3. You will be asked to enter your root password, note that these scripts are only for testing and have no access to real value. You should NOT run these scripts on your daily driver computer because they alter a system file (/etc/rc.local).

  4. The information to launch the node will be displayed on the screen AND saved in a file in the home directory.

  5. When you reboot the computer the beacon chain and validator will build and launch automatically, but they will be invisible until you access them through the "screen -x" command.

prysmatic_bazel's People

Contributors

superphiz 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.