Node Setup

A guide to all the ways you can run a node in a Taraxa public testnet

Super Easy To Run a Node

You can either run a node:

  • Via deploy to a host in the cloud

  • On any machine with Docker installed

One Liner Deploy Script To The Cloud

Requirements

  • A Mac or Linux shell environment

  • curl with ssl support

‚Äč

Digital Ocean

Prerequisites: Follow these instructions to signup for a Digital Ocean account. You need a Digital Ocean API token. You may export your token as the env var DIGITALOCEAN_ACCESS_TOKEN or simply provide it when script asks for it.

One Liner Install For Digital Ocean

bash -c "$(curl -fsSL https://taraxa.io/one-click-DO.sh)"

Each run of this script will generate a Droplet on Digital Ocean running a Taraxa node. You will receive an email to the address used in your Digital Ocean registration with login credentials. The Taraxa node runs as a docker image.

Running using Docker Compose

Step 1: Download the docker-compose.yml file to your machine that has Docker installed.

Step 2: Start the node

docker-compose up

You can also start the node as a detached background service:

docker-compose up -d

To view the logs you then use the docker logs command:

docker logs taraxa-node -f