Skip to content

The node software powering the next generation smart contract L2 on the HIVE blockchain

License

Notifications You must be signed in to change notification settings

Pl8tinium/vsc-node

 
 

Repository files navigation

VSC Node

aaaaa < fill in > test testme

Installationaa

aa

Ansible

aaa Ansible is a deployment automation tool.

You can install the VSC node via an ansible playbook. Follow the instructions to install ansible on your machine. Sshpass is also a requirement (apt install sshpass). Note: it is only available on linux (you can also use it in WSL).

The installation has been tested on ubuntu.

To use the supplied ansible script you will need to define a target node. This can be done by creating an inventory.yml file and dropping it in the root of this project.

---
vsc_nodes:
  hosts:
    raspberrypi:
      ansible_host: 192.168.0.100           #changeme
      ansible_user: pi                      #changeme
      ansible_password: <mypassword>        #changeme
      ansible_become_pass: <mypassword>     #changeme

The ansible playbook can then be launched via the command shown below.

ansible-playbook deploy/ansible/docker_install/playbook.yml -i inventory.yml

You will be prompted for various hive keys that need to be entered in order for your node to function properly.

Note: the last step of the script takes really long for the first time as it needs to fetch node modules. If you wanna check if your node is actively doing something check the top command.

On a high level the script

  1. installs docker and its prequesites
  2. copies over relevant files
  3. starts up the docker-compose file to launch the node
  4. register the update.sh script as a crown job to automatically keep the node up to date

The bare_metal installation is currently not completed.

About

The node software powering the next generation smart contract L2 on the HIVE blockchain

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.8%
  • Other 1.2%