Miner node install

This guide will help you set up and run a Masa Node using a Go Binary ready for configuration and deployment.

Minimum System Requirements

  • CPU: 2 CPU cores or threads (Minimal CPU power) | RAM: 4GB | Storage: 120GB
Windows Users: The miner is not directly compatible with Windows. You must install and configure WSL2 to proceed. The miner is compatible with Linux and macOS.
1

Step 1

Clone the Masa protocol and verify the latest release

First, clone the Masa protocol repository from GitHub. This repository contains the necessary code to set up and configure the miner (node)

git clone https://github.com/masa-finance/masa-oracle.git

Navigate to the cloned repository

cd masa-oracle

Retrieve the latest tagged release from the repository

latest_tag=$(git describe --tags `git rev-list --tags --max-count=1`)

Switch to the latest tagged release version of the code

git checkout $latest_tag
2

Step 2

Install smart contracts dependencies

Begin by navigating to the contracts directory:

cd contracts

Install all contracts dependencies via NPM or Yarn:

Return to the root directory:

cd ..