MATRIX
  • MATRIX
    • NeuraMATRIX
      • Metatron
        • Redefining BCI Hardware with Precision, Power, and Privacy
      • Matrix AI Network Launches NeuraMATRIX:
        • Redefining Brain-Computer Interfaces with Cutting-Edge Hardware and Blockchain Technology
        • The Values
      • Event
        • NeuraMATRIX Open Platform Launch Event
      • Overview
      • Features
      • Brainwave Acquisition Hardware
      • Algrithm
      • Manual
      • Neura MATRIX: Bridging Brainwaves and Blockchain to Revolutionize the Future of Web3 (3/3)
      • Neura MARTIX——用脑波链接Web 3.0时代 (3/3)
      • Neura MATRIX: Bridging Brainwaves and Blockchain to Revolutionize the Future of Web3 (2/3)
      • Neura MARTIX——用脑波链接Web 3.0时代 (2/3)
      • Neura MATRIX: Bridging Brainwaves and Blockchain to Revolutionize the Future of Web3 (1/3)
      • Neura MARTIX——用脑波链接Web 3.0时代 (1/3)
  • FAQ of MATRIX AI Network
    • 1. Why does MATRIX exist?
    • 2. What is the vision and mission of Matrix?
    • 3. What are main features of MATRIX?
    • 4. How is MATRIX different?
    • 5. What exactly does MATRIX do?
    • 6. What is Matrix's consensus mechanism?
    • 7. What problems does the matrix solve?
    • 8. What makes The Matrix different? Why is it better?
    • 9. Can the Matrix be hacked?
    • 10. Is the old team still alive? How many people work in the team?
    • 11. What is the ticker?
    • 12. Where can I buy MAN coins?
    • 13. When we look at BSCscan, we see that all coins are kept in a single wallet. Is this true ?
    • 14. What is the token economy of Matrix? What is the total supply of MAN?
    • 15. Is MAN still an erc20 token? Where can I store MAN?
    • 16. My man tokens are still an erc20, how do I revert them to mainnet coins?
    • 17. Will there be a halving for MAN as in Bitcoin?
    • 18. From which accounts can I follow Matrix?
    • 19. What are your platforms and projects based on Artificial Intelligence?
    • 20. How can I contact you for more questions?
    • 21. What specs you using for Matrix node?
    • 22. What makes Matrix different from other artificial intelligence projects and companies?
    • 23. What is the Matrix Bio-Wallet?
  • AIRTIST
    • AIRTIST—Matrix’s Great Venture into AI Art
    • Introduction of AIRTIST
    • The Past and Present of AI Art
  • APEX
    • APEX: AI-Algorithmic-Stablecoin-to-Foreign-Currency Exchange Protocol
    • AI + ASC: The Future of DeFi
  • Energy Friendliness
    • Matrix AI - the solution for sustainable crypto mining
    • Matrix——More Public Benefit for Crypto Mining
    • New Direction for Public Chains in the Carbon Neutral Future
    • Unmanned Mine by Matrix and TBEA: Ushering in the Era of Energy 4.0 (1/3)
    • Unmanned Mine by Matrix and TBEA: Ushering in the Era of Energy 4.0 (2/3)
    • Unmanned Mine by Matrix and TBEA: Ushering in the Era of Energy 4.0 (3/3)
  • General
    • Release of Upgraded Web Wallet and Bounty Event
    • Important Announcement on ERC-20 Swap
    • Announcement about Manual Swap
    • 从霍金到黑客帝国——让科幻电影照进现实 (4)
    • From Stephen Hawking to Matrix: Making Science Fiction Come True (4)
    • 从霍金到黑客帝国——让科幻电影照进现实 (3)
    • From Stephen Hawking to Matrix: Making Science Fiction Come True (3)
    • From Stephen Hawking to Matrix: Making Science Fiction Come True (2)
    • 从霍金到黑客帝国——让科幻电影照进现实(2)
    • Website Update and Bounty Event
    • Block Reward Reduction
    • From Stephen Hawking to Matrix: Making Science Fiction Come True (1)
    • 从霍金到黑客帝国——让科幻电影照进现实
    • What Makes Matrix AI Different?
    • The Belt and Road Summary
    • Matrix——Catalyst for the AI Big Bang
    • Matrix and The Belt and Road
    • An Introduction to Wormhole
    • Intro to AutoML
    • Data, Computing, and Blockchain: The Fate of the Metaverse
    • A Brief History of Metaverse
    • 什么是虫洞/Wormhole?
    • MATRIX At A Glance (1.0 and 2.0)
    • Summary of MATRIX 1.0 and MATRIX 2.0
  • BioWallet
    • Suppose you could travel back in time to 2010, how much Bitcoin would you buy?
    • Matrix生态矩阵又添黑科技:指静脉识别Bio-Wallet安全钱包
    • Matrix Announces BioWallet to Make Crypto Funds More Secure
      • Matrix AI Network Bio-Wallet Content Contest
    • Matrix AI Network Bio-Wallet Content Contest
    • Matrix- PR Distribution
    • Matrix BioWallet Covered at Bloomberg
  • Guides
    • Matrix App Installation Process
    • How To get blacklisted Validator and Miners
    • User Guide for Matrix IDE
    • Things I wish I knew before using DEX-es and trading tokens
    • Sending a MAN transaction(JS, NodeJS), Intermediate level
    • Sending a MAN transaction(Java + Maven), Intermediate level
    • Reading a smart contract function (JS, NodeJS)
    • Matrix Mainnet Cross-chain Transfer Guide——BSC
    • man.json with new nodes info
    • How to Manually Move MAN Coins to Ledger
    • How to Create a Matrix Smart Contract
    • Generating a Vanity Address(JS, NodeJS), Beginner level
    • Distributed AutoML User Guide
    • Determine the addresses with activity and their respective balances for a specified number of blocks
    • Deploying a smart contract on Matrix AI Network using Truffle (Demo)
    • Create Mining Masternodes in Ubuntu (Linux) with Matrix AI Network
    • Matrix AI Network integration tutorials — Part 1: Converting an ETH address to MAN address (JS, Node
    • Calling a smart contract function (JS, NodeJS)
    • Accessing block info(JS, NodeJS), Beginner level
    • $MAN Staking Guide
    • Create a Portfolio
    • Matrix Mainnet Cross-chain Transfer Guide——BSC
    • Decentralized AI Economy Starts Here
    • How to Issue a Token Using Matrix Smart Contracts
    • How to Check the Validators and Miners of Each Mining Cycle?
    • Android Wallet for Test (III)
    • MANTA Miner Deployment
    • How to Issue a Token Using Matrix Smart Contracts
  • MANAS
    • MANAS—Empower AI with Blockchain
    • MANAS’s Business Model and Proxy Promotion Mechanism
    • MANAS—Make a Better Metaverse
    • MANAS Q&A
    • MANAS Source Code Uploaded to GitHub
    • MANAS Deployed to Matrix Mainnet
  • MANIA
    • MANIA—A New World of the Integration of NFT and AI
    • MANIA AI-Assisted NFT Trading
  • MANTA
    • Empowering Sora with MANTA from Matrix AI Network: Bridging the Computational Divide
    • Guide for Downloading Datasets
    • MANTA Update Announcement
    • Morpheus, intro
    • MANTA主网矿机部署文档
    • MANTA Mainnet Miner Deployment Guide
    • Distributed AutoML Front-end Functions and Panel
    • MANTA—The Brain of Tomorrow’s Metaverse
    • MANTA Miner Deployment
    • MANTA Welcomes Important Partners in Its Tests
  • MATRIX 1.0
  • MATRIX 2.0
  • MATRIX 3.0
    • Development Plan Q1–2025
    • Update to Milestones 4 and 5 of Phase 1
    • Update to Milestone 3
    • MATRIX 3.0 Phase 1 Stage 1 Deliverables — 2
    • MATRIX 3.0 Phase 1 Stage 1 Deliverables — 1
    • Morpheus
    • Avatar Intelligence: The Next Stop in the Web3 World
    • Web3世界的下一站 —— Avatar Intelligence
    • Matrix 3.0 Blueprint and Event Winner Announcement
    • Blueprint
  • Bi-Weekly Reports
    • 2025年5月上半月报
    • 1st Report Of May 2025
    • 2025年4月下半月报
    • 2nd Report Of April 2025
    • 2025年4月上半月报
    • 1st Report Of April 2025
    • 2025年3月下半月报
    • 2nd Report Of March 2025
    • 2025年3月上半月报
    • 1st Report Of March 2025
    • 2025年2月下半月报
    • 2nd Report Of February 2025
    • 2025年2月上半月报
    • 1st Report Of February 2025
    • 2025年1月下半月报
    • 2nd Report Of January 2025
    • 2025年1月上半月报
    • 1st Report Of January 2025
    • 2024年12月下半月报
    • 2nd Report Of December 2024
    • 2024年12月上半月报
    • 1st Report Of December 2024
    • 2024年11月下半月报
    • 2nd Report Of November 2024
    • 2024年11月上半月报
    • 1st Report Of November 2024
    • 2024年10月下半月报
    • 2nd Report Of October 2024
    • 2024年10月上半月报
    • 1st Report Of October 2024
    • 2024年9月下半月报
    • 2nd Report Of September 2024
    • 2024年9月上半月报
    • 1st Report Of September 2024
    • 2024年8月下半月报
    • 2nd Report Of August 2024
    • 2024年8月上半月报
    • 1st Report Of August 2024
    • 2024年7月下半月报
    • 2nd Report Of July 2024
    • 2024年7月上半月报
    • 1st Report Of July 2024
    • 2024年6月下半月报
    • 2nd Report Of June 2024
    • 2024年6月上半月报
    • 1st Report Of June 2024
    • 2024年5月下半月报
    • 2nd Report Of May 2024
    • 2024年5月上半月报
    • 1st Report Of May 2024
    • 2024年4月下半月报
    • 2nd Report Of April 2024
    • 2024年4月上半月报
    • 1st Report Of April 2024
    • 2024年3月下半月报
    • 2nd Report Of March 2024
    • 2024年3月上半月报
    • 1st Report Of March 2024
    • 2024年2月下半月报
    • 2nd Report Of February 2024
    • 2024年2月上半月报
    • 1st Report Of February 2024
    • 2024年1月下半月报
    • 2nd Report Of January 2024
    • 2024年1月上半月报
    • 1st Report Of January 2024
    • 2023年12月下半月报
    • 2nd Report Of December 2023
    • 2023年12月上半月报
    • 1st Report Of December 2023
    • 2023年11月下半月报告
    • 2nd Report Of November 2023
    • 2023年11月上半月报告
    • 1st Report Of November 2023
    • 2023年10月下半月报告
    • 2nd Report Of October 2023
    • 2023年10月上半月报告
    • 1st Report Of October 2023
    • 2023年9月下半月报告
    • 2nd Report Of September 2023
    • 2023年9月上半月报告
    • 1st Report Of September 2023
    • 2023年8月下半月报告
    • 2nd Report Of August 2023
    • 2023年8月上半月报告
    • 1st Report Of August 2023
    • 2023年7月下半月报告
    • 2nd Report Of July 2023
    • 2023年7月上半月报告
    • 1st Report Of July 2023
    • 2023年6月下半月报告
    • 2nd Report Of June 2023
    • 2023年6月上半月报告
    • 1st Report Of June 2023
    • 2023年5月下半月报告
    • 2nd Report Of May 2023
    • 2023年5月上半月报告
    • 1st Report Of May 2023
    • 2023年4月下半月报告
    • 2nd Report Of April 2023
    • 2023年4月上半月报告
    • 1st Report Of April 2023
    • 2023年3月下半月报告
    • 2nd Report Of March 2023
    • 2023年3月上半月报告
    • 1st Report Of March 2023
    • 2023年2月下半月报告
    • 2nd Report Of February 2023
    • 2023年2月上半月报告
    • 1st Report Of February 2023
    • 2023年1月下半月报告
    • 2nd Report Of January 2023
    • 2023年1月上半月报告
    • 1st Report Of January 2023
    • 2022年12月下半月报告
    • 2nd Report Of December 2022
    • 1st Report Of December 2022
    • 2nd Report Of November 2022
    • 1st Report Of November 2022
    • 2nd Report Of October 2022
    • 1st Report Of October 2022
    • 2nd Report Of September 2022
    • 1st Report Of September 2022
    • 2nd Report Of August 2022
    • 1st Report Of August 2022
    • 2nd Report Of July 2022
    • 1st Report Of July 2022
    • 2nd Report Of June 2022
  • AMA
    • October 2023 AMA
    • Sept 2023 AMA
    • MATRIX AMA - MAY 2023
    • Matrix April AMA Transcript
    • Matrix 3.0 Special AMA Transcript
    • AMA 1 on Neuroscience
    • AMA 2 on Neuroscience
    • April 2023 AMA
    • March 2023 AMA
    • MEXC北美AMA成绩单
    • MEXC North America AMA transcript
    • AMA成绩单-神经科学家为矩阵社区回答问题!
    • AMA Transcript - Neuroscientist Answered Questions for Matrix Community!
    • KuCoin Official Arabic Telegram Group Ask-Me-Anything (AMA) [ 3 March]
    • February 2023 AMA
    • KuCoin Official Japanese Telegram Group Ask-Me-Anything (AMA) [20 February]
    • January 2023 AMA
    • December AMA is Live
    • November AMA Transcript
    • October AMA Transcript
    • September AMA Transcript
    • August AMA Transcript
    • July AMA Transcript
    • 2022-06-AMA-Transcripts
  • MATRIX Fact Sheet
    • MATRIX Fact Sheet 1-10
    • MATRIX Fact Sheet 11-20
    • MATRIX Fact Sheet 21-30
    • MATRIX Fact Sheet 31-40
    • MATRIX Fact Sheet 41-50
    • MATRIX Fact Sheet 51-60
    • MATRIX Fact Sheet 61-70
    • MATRIX Fact Sheet 71-80
    • MATRIX Fact Sheet 81-90
    • MATRIX Fact Sheet 91-98
  • Android Wallet
    • Android Wallet for Test (III)
    • Android MAN Wallet For Test (II)
    • Android MAN Wallet For Test
  • CEO’s Message
    • MCP for Distributed AI Agents
    • Integrating MCP into MATRIX Blockchain!
    • Model Context Protocol on Blockchain!
    • Important Remarks from Our CEO
    • New message from Hong Kong!
    • Q1 2025 Development Plan
    • Happy Chinese New Year 2025
    • Strategic Partnership Between MATRIX and Blink.TV
    • New Year's message from Matrix AI Network CEO, Owen TAO!
    • Jehol Capital Foundation takes over ERC-20 MAN tokens
    • MAN will be listed on MEXC
    • 2022 Christmas Message
    • 2022 Mid-Autumn Festival Message
    • Goodbye 2021, Hooray 2022
  • M-Port
    • M-Port: An AI-Powered DID Platform based on Biometric Information (IV)
    • M-Port: An AI-Powered DID Platform based on Biometric Information (III)
    • M-Port: An AI-Powered DID Platform based on Biometric Information (II)
    • M-Port: An AI-Powered DID Platform based on Biometric Information
  • Team
    • Head/Manager of Ecosystem Development
    • Appointment
  • Event
    • Matrix KARMA EVENT: Participate, Contribute, Earn $MAN!
    • Web3 Mentor Naming Contest – Winners Announcement!
    • NeuraMATRIX Open Platform Launch Event Winners Announcement
    • Mid-Autumn Festival Contest Winners Announcement
    • MidAutumn Festival Contest : Capture the Magic of the Full Moon!
    • Give It a Name Contest Winners Announcements
    • AUGUST AMA WORD HUNT EVENT WINNERS ANNOUNCEMENT
    • Give It a Name Contest
    • MATRIX AUGUST AMA WORD HUNT EVENT
    • JULY AMA WORD HUNT EVENT WINNERS ANNOUNCEMENT
    • MATRIX AWARDED WORD HUNT EVENT
    • The Rewarding PERSONA Test Winners Announcement
    • The Rewarding PERSONA Test: Dive Into AI Innovation!
    • EXCITING ENGAGEMENT COMPETITION WINNERS ANNOUNCEMENT
    • EXCITING ENGAGEMENT COMPETITION
    • MATRIX LEARN & EARN EVENT
    • Zealy Giveaway Winners Announcement
    • MATRIX GIVEAWAY EVENT
    • NEW YEAR EVENT WİNNERS ANNOUNCEMENT
    • New Year Event Begins!
    • MATRIX TELEGRAM CHALLENGE WINNER ANNOUNCEMENT
    • MATRIX TELEGRAM CHALLENGE
    • OCTOBER QUIZ EVENT WINNERS ANNOUNCEMENT
    • OCTOBER QUİZ EVENT
    • Stage One Deliverables Event Winners Announcement
    • Stage One Deliverables Event
    • Guessing Contest Event
    • 📢 We're pleased to announce our Next #AMA with Matrix AI Network at Binance Live On 8 June 2:00 PM
    • Learn how #AI & #VR unlocks new realities in crypto in our next Twitter Space with
    • Join the MATRIX on Zealy.io and Win Big!
    • HK Web 3 Festival
    • AMA with MEXC
    • Matrix AI Network & Neuroscience AMA Question Collection
    • Matrix AI Network Birthday cum Chinese New Year Video & Photo Contest
    • Matrix Ambassador—Knight
    • Ambassador Program
    • Website Update and Bounty Event, Announcement of the Winners
    • New Year's Letter Challenge
  • Morpheus
    • 基于Morpheus的个性化Chatbot平台——Persona(第四部分)
    • Morpheus-based Personalized Chatbot Platform: Persona - Combining EEG Technology for the We(Part 4)
    • 基于Morpheus的个性化Chatbot平台——Persona(第三部分)
    • Morpheus-based Personalized Chatbot Platform: Persona - Combining EEG Technology for the We(Part 3)
    • 基于Morpheus的个性化Chatbot平台——Persona(第二部分)
    • Morpheus-based Personalized Chatbot Platform: Persona - Combining EEG Technology for the We(Part 2)
    • 基于Morpheus的个性化Chatbot平台——Persona(第一部分)
    • Morpheus-based Personalized Chatbot Platform: Persona - Combining EEG Technology for the We(Part 1)
    • We're thrilled to invite you to join us in testing the remarkable Morpheus Upgrade 2.0
    • Unveiling the Matrix AI Network Morpheus Upgrade
    • A Bilingual Pretrained Model Based on MATRIX Mainnet
    • Morpheus Available For Initial Testing
  • Media
    • MATRIX AI Network CEO Owen Tao Shares Vision for Web3, BCI, and AI at Jinse 星享会 in Hong Kong
    • 首席执行官Owen TAO在数字全景峰会上讨论Web3中的人工智能和BCI
    • CEO Owen TAO Discusses AI and BCI in Web3 at Digital Panorama Summit
    • Matrix AI Network and DEPIN
    • Blending neuroscience with AI on blockchain: Matrix AI Network and NeuraMatrix partnership
  • 3.0/Neuroscience
    • NeuraMatrix – The Better Neural Link for MetaVerse
    • NeuraMatrix – A Better Neural Link for the Metaverse
    • NeuraMatrix – The Better Neural Link for MetaVerse
    • NeuraMatrix – A Better Neural Link for the Metaverse
  • Intelligent Contract
    • Advancements of Intelligent Contract Version 2
    • 智慧合约里程碑交付
    • Intelligent Contract Milestone Update:
    • Revolutionizing Smart Contract Development with Accessibility and Security
    • Intelligent Contract Testing: Explore the Future of Smart Contracts
    • 智能合约
    • Intelligent Contract
  • DEPIN
    • MATRIX——专为AI服务的全球分布式资源共享网络 (4/4)
    • Empowering the AI Revolution: The Global Distributed Resource Network of MATRIX (4/4)
    • MATRIX——专为AI服务的全球分布式资源共享网络 (3/4)
    • Empowering the AI Revolution: The Global Distributed Resource Network of MATRIX (3/4)
    • MATRIX——专为AI服务的全球分布式资源共享网络 (2/4)
    • Empowering the AI Revolution: The Global Distributed Resource Network of MATRIX (2/4)
    • MATRIX——专为AI服务的全球分布式资源共享网络 (1/4)
    • Empowering the AI Revolution: The Global Distributed Resource Network of MATRIX (1/4)
  • AI Agent
    • Contextus: The Context Management and Routing Hub of MATRIX (3/3)
    • Contextus:MATRIX 的上下文管理与路由中枢(3/3)
    • Contextus: The Context Management and Routing Hub of MATRIX (2/3)
    • Contextus:MATRIX 的上下文管理与路由中枢(2/3)
    • Contextus: The Context Management and Routing Hub of MATRIX (1/3)
    • Contextus:MATRIX 的上下文管理与路由中枢(1/3)
    • Your ultimate web3 guide MANTOR is LIVE!
    • Give It a Name Contest – Help Us Name Our AI Agent Web3 Mentor!
    • How Can Web3 Mentor Help You?
    • MATRIX’s AI Agent Core Modules
    • The Matrix's first AI Agent is on the way!
    • AI Agents Empowered by Morpheus and Their Role in Advancing Avatar Intelligence (Part 4)
    • AI Agents Empowered by Morpheus and Their Role in Advancing Avatar Intelligence (Part 3)
    • AI Agents Empowered by Morpheus and Their Role in Advancing Avatar Intelligence (Part 2)
    • AI Agents Empowered by Morpheus and Their Role in Advancing Avatar Intelligence (Part 1)
Powered by GitBook
On this page
  1. Guides

Create Mining Masternodes in Ubuntu (Linux) with Matrix AI Network

PreviousDeploying a smart contract on Matrix AI Network using Truffle (Demo)NextMatrix AI Network integration tutorials — Part 1: Converting an ETH address to MAN address (JS, Node

Last updated 2 years ago

Here is a complete technical guide to running multiple Mining Masternodes on the same machine.

It is recommended to have a machine with at least:

  • 8-core CPU (or more)

  • 16 GB of RAM (or more)

  • Approximately 500 GB of disk space per Masternode (anticipating large storage space as it keeps increasing with time)

  • At least 1MB/s internet bandwidth per MasterNode

Key points:

  • To launch a Mining Masternode, you must stake at least 10,000 MAN.

  • To launch a Validation Masternode (used for pools), you must stake at least 100,000 MAN.

  • Each Masternode must have 2 Wallets A and B associated with it (which you will therefore need to create).

  • Wallet B will be configured on the machine and will serve as a secure bridge to wallet A where your staking will be located and where you will also receive your MAN rewards.

  • There are two types of rewards generated:

  • - Staking rewards

  • - Mining rewards

  • Both types of rewards will be sent to Wallet A of each node.

  • However the staking rewards will remain locked as long as the staking is also locked, while mining rewards will be available and transferable at all times.

  • Synchronizations with the blockchain are particularly long.

  • We will use a file called “snapshot” so that we don’t have to synchronize everything from scratch.

Steps to synchronize a first Masternode

2. Then extract the archive (no matter where at the moment) to have the uncompssed file (TrieData5900000).

3. Create a folder “Masternodes” which will contain a subfolder for each masternode.

In this guide we will use mining masternodes as example (most common), so we will name the subfolders “MiningNode1”, “MiningNode2”, “ MiningNode3 ”, etc

4. Go to the “MiningNode1” folder.

Right click, Open Terminal here.

5. In the Terminal, run the following command which will download Go-Matrix in a “masternode” folder:

6. Then the command to enter this folder:

cd masternode

7. Then the command to download the Gman script:

8. Then modify the permissions on the gman file and create a “chaindata” folder and “keystore” sub-folder in chaindata with the following command:

chmod 775 gman && mkdir chaindata && mkdir chaindata/keystore

9. Then you have to move man.json into chaindata and copy the picstore folder to paste it into chaindata:

mv man.json chaindata && cp -R picstore chaindata /

Write down your B1 password and save your B1 Keystore file.

Note: It is pferable to use an unusual password for this wallet, even if it is weak. This password will be stored in clear in a config file, so it is potentially hackable (which is not dangerous in itself), it is just better if it does not give any clue about your other secure passwords.

11. Now you have to create a new text document (use the method of your choice), still in the “masternode” sub-folder of the “MiningNode1” folder.

12. Rename this text document to signAccount.json

Then edit this file with a text editor.

13. Copy / paste the following content into the text editor:

[ {

“walletaddress”:””,

“walletpassword”:””

} ]

And replace walletaddress with the address of your Wallet B1, and walletpassword with the password of your Wallet B1.

Then save the changes.

14. You must now place your Wallet B1 KeyStore file (downloaded in step 10) in the masternode/chaindata/keystore/ folder.

15. Then place the snapshot file extracted in step 2 in the masternode/snapdir/ folder (create the folder if it does not exist).

16. Then return to the Terminal (whose current path should still be […]/Masternodes/MiningNode1/masternode/) and run the following command:

./gman -datadir chaindata init MANGenesis.json && ./gman -datadir ./chaindata aes -aesin ./signAccount.json -aesout entrust.json

17. If all goes well, you should be asked for a password, this will be the password to type to launch the masternode, enter the password of your choice.

18. When launching the node for the first time, you must indicate in the command parameters to use the snapshot file, this will then no longer be necessary if you have to restart the node later.

Use the command:

./gman --datadir ./chaindata --networkid 1 --debug --verbosity 3 --port 5101 --manAddress MANADDRESS --entrust ./entrust.json --gcmode archive --outputinfo 1 --syncmode full --loadsnapfile "TrieData5900000"

There are 3 parameters to check:

- MANADDRESS must be replaced by the address of Wallet B1

- The port number (after “port”) must be available (open in your router and not already used by another process)

- “TrieData5900000” must correspond to the name of the snapshot file contained in the “snapdir” folder

19. To launch a node again afterwards (without the snapshot), use the command:

./gman --datadir ./chaindata --networkid 1 --debug --verbosity 3 --port 5101 --manAddress MANADDRESS --entrust ./entrust.json --gcmode archive --outputinfo 1 --syncmode full

20. You should be asked for the masternode password (chosen in step 17), then the node should launch and start synchronizing.

21. Wait until for full synchronization with the blockchain.

You can check the progress of the synchronization by opening a new Terminal from the MiningNode1/masternode/ folder and running the command:

./gman attach ./chaindata/gman.ipc

22. This opened the IPC (the Command Line Interface of the miner), then type the command:

man.syncing

23. The result will give you a value of “Current block” which is the block where your node currently is, and a value of “Highest block” which is the latest current block of the blackchain.

When the 2 values ​​are identical, your node is then synchronized.

If man.syncing returns “false”, check the “Check the status and operation of a MasterNode” section down below.

Steps for other masternodes

(Assuming that the first one is 100% synchronized, which allows to do the sync only once and then re-use it, rather than waiting for the sync for each node)

1. In your Masternodes root folder (with an “s”, which should contain the MiningNode1 folder), create a “MiningNode2” folder.

2. Repeat the same steps as for the first node from step 4 (from the MiningNode2 folder this time of course) up to step 17, avoiding step 15 (which put the snapshot file, at worst if you do it doesn’t matter it won’t change anything).

You will have to create a new Wallet B2 (instead of B1), and replace everything relating to Wallet B1 by Wallet B2 of course.

3. Stop Mining Masternode 1 by going to its Terminal window and pssing CTRL + C.

4. Go back to Terminal 2 (whose current folder should now be […]/Masternodes/MiningNode2/masternode/), and run the following command to copy the synschornized data from the node 1 blockchain to a backup folder:

mkdir ../../snapchain && rsync -a --progress ../../MiningNode1/masternode/chaindata/gman ../../snapchain

5. Once the copy is complete, relaunch Mining Masternode 1, by going back to Terminal 1 and re-issuing the following command (replace MANADDRESS by the address of wallet B1):

./gman --datadir ./chaindata --networkid 1 --debug --verbosity 3 --port 5101 --manAddress MANADDRESS --entrust ./entrust.json --gcmode archive --outputinfo 1 --syncmode full

6. We can now copy the synchronized blockchain data to our MiningNode 2 with the following command:

rsync -a --progress ../../snapchain/gman chaindata/gman

7. Once the copy is complete, we can launch our Mining Node 2:

./gman --datadir ./chaindata --networkid 1 --debug --verbosity 3 --port 5102 --manAddress MANADDRESS --entrust ./entrust.json --gcmode archive --outputinfo 1 --syncmode full

⚠️ Check the 2 parameters

carefully :

- MANADDRESS to be replaced by the address of your Wallet B2

- Port number (after “port”) which must be different for each node

8. You can check the sync status as in step 21 and 22 from the first node.

9. Repeat these steps for each node, replacing MiningNode2 by MiningNode3 (then 4, 5, etc.) as well as Wallet B2 by Wallet B3 (B4, B5, etc.), and without steps 3 and 5 which are no longer necessary since the copy of the blockchain data was made in a separate folder.

Check the status and operation of a MasterNode

1. Go to the Terminal corresponding to the MasterNode to check, let’s say Terminal 3 for MasterNode 3.

2. pss CTRL + SHIFT + T to open a new tab in the same Terminal which will be in the same current folder as the first tab.

3. Run the following command which will open the IPC, the Matrix miner command interface:

./gman attach ./chaindata/gman.ipc

4. To check the synchronization status with the blockchain, use the following command:

man.syncing

  • If the node is fully synchronized with the Blockchain, it will return “false”.

  • If the node is not actively being synchronized, it will return “false”.

  • Otherwise it returns several informations such as “currentBlock” and “highestBlock” which correspond respectively to the number of the current block of the Node and the current number of the blockchain. When the 2 match, the node is fully synchronized with the blockchain.

5. If man.syncing returns “false” and you want to check if your node is well synchronized (which is recommended), use the following command to find out the current block number of your node:

man.blockNumber

6. The number of peers connected to the node is also an indicator of the good functioning of the node, it is possible to check this value with the command

admin.peers

50+ peers (approximately) testifies to a good available internet bandwidth and a node that runs well.

Manage your nodes server remotely

The easiest, free and secure way is to use TeamViewer software.

2. Download and install TeamViewer on Ubuntu

3. Go to the options from the Extras → Options menu, then check “Start TeamViewer with Ubuntu” or similar (the screenshot is an example with Windows)

4. By default TeamViewer changes password on reboot, to avoid this we will link this machine with your TeamViewer account.

5. Log in to your TeamViewer account from the interface:

6. Go back to the options via the Extras → Options menu, and in the “Security” tab, check the “Grant easy access” box:

There may be a “configure” button to link your account before you can check the box.

7. Check that everything is working well, restart your Ubuntu machine and check that TeamViewer starts up on startup without any action on your part.

Then take another device with TeamViewer, connect to your TeamViewer account, and watch in the “Computer and Contacts” tab that your node server appears.

⚠️ For this to work properly, your node server under Ubuntu must (I think) be in autologin mode at startup, i.e. your session opens automatically at startup without entering your password.

You can now connect to your nodes server with TeamViewer from anywhere, restart it remotely if necessary, and then reconnect to it.

Query your node through its API

For developpers and more complex configurations, the API documentation of a Masternode is available here:

1. Download the latest snapshot, at the time of this article, it is this one, taken at block 5,900,000:

git clone masternode

wget

10. Now (if you haven’t already done so), you need to create your Wallet B1 by going to with Keystore mode.

And compare the result with the current blockchain number on (see Block Height, top left)

1. Visit their official site from the node server under Ubuntu:

If you don’t already have a TeamViewer account, use this link to create one:

https://www.matrix.io/../assets/dropdown/TrieData5900000.tgz
https://github.com/MatrixAINetwork/go-matrix.git
https://github.com/MatrixAINetwork/GMAN_CLIENT/raw/master/MAINNET/20200520/linux/gman
https://wallet.matrix.io/
https://tom.matrix.io
https://www.teamviewer.com
https://login.teamviewer.com/LogOn/PopUp/create-account
https://dev.matrix.io/api/RPC.html
Graphical user interface, application

Description automatically generated
Graphical user interface, application

Description automatically generated
Graphical user interface, application

Description automatically generated
Graphical user interface, application, logo, company name

Description automatically generated
Graphical user interface, application

Description automatically generated