Skip to content

lab10-coop/DAppNodePackage-ARTIS-sigma1

Repository files navigation

ARTIS sigma1 DAppNode Package

DAppNodeStore Available

Provides an ARTIS sigma1 Fullnode as a DAppNode Package

Install on DAppNode

To install the latest official ARTIS package on a DAppNode, make sure you are connected to its VPN and visit http://my.admin.dnp.dappnode.eth/#/installer/artis-sigma1.public.dappnode.eth.

You can add extra options in the DAppNode UI such as:

EXTRA_OPTS=--tracing on

Please look up the Parity documentation for available options.

Connect using web3js

If the ARTIS DAppNode package is installed and running and you are connected to your DAppNode via VPN you can use:

var Web3 = require('web3');
var web3 = new Web3('ws://artis-sigma1.public.dappnode.eth:8546')
web3.eth.getBlockNumber().then(console.log)

In case you are running the ARTIS Docker container locally:

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

Buidling the DAppNode Package

Prerequisites

  • same as described in the "Buidling as Docker" section below
  • DAppNodeSDK installed
  • be connected to your DAppNode (e.g. via VPN)

Run

dappnodesdk build

to test your new build, use the given IPFS hash to install the DAppNode package on your DAppNode.

For more information about building and deploying DAppNode packages we refer to the Readme of the DAppNodeSDK repository.

Buidling as Docker

If you prefer to build the ARTIS Docker image and run it as a Docker container yourself please follow the instructions described in this section.

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 the current user to the 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 and docker-compose without any issues and without the sudo command.

Buidl

docker-compose build

Run

docker-compose up -d

View Logs

docker-compose logs -f

Stop

docker-compose down

Extra options

You can add extra options to the docker-compose.yml, for example:

        environment:
            - EXTRA_OPTS=--tracing on

Please look up the Parity documentation for available options.

License

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

About

DAppNode Package - ARTIS sigma1 chain for DAppNode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published