Install Superalgos on each machine, to then create and set up a network node for each machine.

This page does not go through the process of setting up a computer network. Instead, it assumes the network is already set up. So, do verify the local area network setup and make sure your computer network is functioning properly before starting.

In a network of nodes, each node has it’s own web server, web sockets server, and task server.

Before You Begin

Make a quick list with the name you wish to give to each node and the corresponding IP address on the network. You will need those to configure each network node.

Also, you may want to plan what your operation should look like.

First and foremost, you may want to decide on which node you will keep the workspace on which the network of nodes shall be configured. We call this, the home node.

This is not a requirement, as you may keep different workspaces in different nodes, and even set up different networks on different workspaces, but it’s the most usual setup.

Also, you may want to plan which nodes in the network should run which data-mining tasks, which nodes should run which trading sessions, and so on. As hinted in the fundamental concepts page, possibilities are endless, so we are not going to cover alternatives here. If you know exactly what you want to do, it should be easy to implement. That said, you are free to explore and experiment as well.

Start Here

1. Set up Superalgos on each machine. Once Superalgos is installed, run the system for the first time using the node run noBrowser command. The noBrowser parameter runs the backend without firing up the frontend.

Leave the machine online, with the backend running.

2. Run the frontend to access the home node.

You may access the home node locally, that is, running the browser on the machine where the home node is running, or you may run the browser on any other machine in the physical network—even one not running Superalgos—by navigating to the home node’s IP address.

Click to learn how to uninstall an existing market

In brief: To uninstall an existing market, select Uninstall Market on the menu of the market you wish to uninstall.

1. Expand the exchange markets node of your preferred crypto exchange in the crypto ecosystem hierarchy.

Click to learn how to find a hierarchy

In brief: To find a hierarchy, access the design space map with a right-click of the mouse, and left-click on your desired destination.

The image illustrates points 1 and 2 below.

1. Access the design space map.

Right click anywhere on the design space to access the design space map.

2. Left-click on your desired destination.

That should take you to the exact point you clicked on the map.

For your information, the design space is organized over a square perimeter around the workspace node, and each hierarchy is located on one of the cardinal directions. Depending on the Workspace you are using, different hierarchies may be in different positions.

2. Select Uninstall Market on the menu of the market you wish to uninstall.

3. Add and configure a network node for each machine.

Adding a Network Node

To add a network node, select Add Network Node on the Superalgos Network node menu. A network node is added along with the basic structure of nodes to set up a node.

Configuring the Network Node

Select Configure on the menu to access the configuration.

{ 
"host": "localhost", 
"webPort": "34248", 
"webSocketsPort": "18041"
}
  • host is the machine or hardware represented by the network node. The default parameter is localhost, but if you intend to access the backend services of this node from a remote computer, then you must change localhost for the IP Address of the machine on which the node is running, for example, to 147.0.0.1.

  • webPort is the port used by the Web Server, at this stage 34248.

  • webSocketsPort is the port used by the system to communicate over the local area network, by default set at 18041.

Configure the first node and hit F5 to refresh the page. Once the page reloads, a notice indicating the system is connecting with the new network node will show on the top of the screen. Repeat the process for each machine.

The message dissapears when the system suceeds in establishing a connection with the new node.