Running a Node

The guide below assumes that you have an understanding of port forwarding and some advanced computer knowledge. Please ensure you read the note below before moving on:

Process of setting up a node

It is important to note that at this stage, setting up a node is a tedious process. We recommend and suggest if you are not familiar with Port Forwarding and do not have a technical mindset, DO NOT TRY SETTING UP A NODE YET. This process will obviously be simplified and refined in the future (e.g. — Docker and other enhancements). If you have any doubt or confusion about how to setup a node and are unsure, DO NOTHING for this initial period. Wait for an updated and simplified procedure. Updates will be announced through the communication channels listed at the end of this post.

1. Why run a node?

Nodes are an important part of the Tangram network infrastructure, as clients will always send their transactions to nodes to have them validated.

Start the process of understanding the requirements and procedures for running a node;

Delve deeper into the technical capabilities and features;

Create your own trusted entry point to the Vector network;

More abstract benefits of technical, security and future decentralization goals.

2. Minimum hardware requirements

Tangram Vector is a live system, and the hardware requirements may change during each phase and with usage of the network.

CPU —Single Core(1-Thread)

—Single Core(1-Thread) RAM — 1GB RAM DDR4

— 1GB RAM DDR4 OS — Any Linux distro

3. Network access

We recommend running a node on a VM, however, if you will run a node from “Home” then ensure you Port Forward to Port 8080 for TGMGateway .

4. Installing and building from source

TGMGateway as Daemon:

5. List of Dependencies

Tangram Vector stores the state of the ledger in a NoSQL Document Database.

Startup instructions for RavenDB:

Depending on your OS, you will download RavenDB from https://ravendb.net/download, follow the instructions in the root folder of RavenDB named readme

If you change your port in RavenDB , ensure that the port is changed to the same in Coin.API .

Download the .Net Core 3.0 Installer from https://dotnet.microsoft.com/download/dotnet-core/3.0

Install .Net Core 3.0.

6. appsettings.json

Currently you will need to add your node’s Public IP and port in the Membership.API appsettings.json file in order to join the network.

Note: The port exposed corresponds to the Tangram Gateway, not the membership Micro-service itself. example:

Currently there exists two Bootstrap nodes with more being added in the future:

7. Other preparation(s) before joining the network

Posted on Github README.md with updates to follow based on feedback and discussions.

8. Troubleshooting

You will find the .log file for each service within the root directory of the publish folder. Naming convention is <servicename_timestamp>

Security warning: Vector is the first release with consensus and as such should be treated as experimental! There are no guarantees made, and bugs and flaws are expected at this stage of development.

**Updating Cypher**

Whether you have downloaded and installed Cypher or not. Please ensure you follow the instructions below before interacting with the network: