Skip to content
GitHub

Help run the network

Thank you for helping. Your computer becomes one of the machines that keep the Maya2C test network running. Setting it up takes about five minutes, and you can remove everything at any time.

Pick your computer once. Every section of this page then follows that choice.

Choose your computer, its version, and how you want to install. The steps below change to match, and every command has a Copy button. Tick Done as you go, or switch on One step at a time to be walked through.

Your computer
Version

Not sure? Press Windows key + R, type winver, press Enter.

How to install
0 of 0 steps done
  1. Open Terminal

    Right-click the Start button and choose Terminal. A window opens with PowerShell inside it.

  2. Paste the install line

    Copy this line, paste it into the window (right-click pastes), and press Enter:

    irm https://raw.githubusercontent.com/EricWijesinghe/Maya2C/master/scripts/join-testnet.ps1 | iex
  3. Click Yes

    Windows asks "Do you want to allow this app to make changes?" Click Yes.

  4. Confirm the install

    A second window lists everything it will install and asks Install? [y/N]. Type y and press Enter.

    If "Windows protected your PC" appears, click More info, then Run anyway. The program is not code-signed yet; every download is checked against its published fingerprint before it runs.

  5. Wait for Done

    Wait for Done. Thank you for helping! Then close the windows. The node keeps running in the background and starts by itself with Windows.

    Last step. Then go on to "Check it is working" below.

The first time, the node downloads the chain. That can take up to an hour. You don’t need to do anything while it runs; the computer can be used normally.

Click Start › Maya2C › Maya2C Status.

You seeIt means
the node is runningInstalled and running
catching up: block 501,615 of 507,191Still downloading. Check again later
in sync: block 507,191Done. Your node is following the network
validatingYou are a validator (step 3)
the node is not runningSee Fix a problem

A node that follows the chain already helps. A validator also votes on every block. For now, Eric approves each validator by hand.

  1. Make your application:

    Start › Maya2C › Maya2C Become a validator. It asks you to choose a wallet password, then opens your application in Notepad. The file is saved on your Desktop as maya2c-application.txt.

  2. Write the wallet password down. Nobody can recover it, not even Eric.

  3. Send maya2c-application.txt to Eric any way you like: chat, email or the application form. It holds only public information. Never send validator.key or wallet.key.

  4. When Eric approves you, he sends your wallet the bond plus a little for fees. Register with the bond he gives you. On the testnet it is at least 1000000000 (one billion base units). The network ignores anything smaller, so the installer refuses it and tells you why.

    Click Start, type PowerShell, and press Enter. Then run, with Eric’s number:

    Terminal window
    & 'C:\Program Files\Maya2C\maya2c-validator.ps1' -Register 1000000000
  5. Within about an hour, status shows validating.

WhatWhere
ProgramC:\Program Files\Maya2C\
Keys (secret)C:\ProgramData\Maya2C\validator.key, wallet.key
Chain dataC:\ProgramData\Maya2C\v0\
LogC:\ProgramData\Maya2C\logs\node.log
Background taskTask Scheduler › Maya2C Validator
ProblemFix
“running scripts is disabled on this system”Use the exact line from step 1; it handles this. If you downloaded the file yourself, right-click it › Run with PowerShell
Nothing happens after clicking YesLook for a second PowerShell window behind the first
the node is not runningRestart the PC. Still not running? Open Start › Maya2C › Maya2C Logs and send Eric the last lines
Stuck on catching up for over an hourCheck the internet connection, then restart the PC
Antivirus removed maya2c-node.exeAllow it in the antivirus, then Start › Maya2C › Maya2C Update

Still stuck? Send Eric the output of status and the last lines of the log. Never send a .key file.

  • Update: Start › Maya2C › Maya2C Update
  • Remove: Start › Maya2C › Uninstall Maya2C. Your keys are kept in C:\ProgramData\Maya2C; delete that folder only if you will never validate again.

Running a server or want every flag explained? See Run a validator, the full technical guide.