Cover photo

Setting up Holograph Operator

Conditions & requirements:

  • installed nodjs 18, holograph cli and operator on vps - 1 cpu, 1 gb ram, 15 gb ssd - according to my experience, minimum ssd is about 5gb(I have more than 60% free space)

  • terminal(mac os), putty(windows), comand line(ubuntu and similar)

  • a bit of eth to pay gas(0.001 for Goerli is enough)

Install on clean VPS(Ubuntu 22 in example):

  1. Install node.js curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - apt install nodejs -y

  2. Check that node works: node -v npm -v

  3. Install holograph npm install -g @holographxyz/cli

  4. At this moment you will need a wallet, I created a new wallet, since I am not ready to share pk of my active wallet, sorry :slight_smile: holograph config I selected only Goerli, also, there is an issue with RPC that Holograph provides for RinkeBy testnet, seems this RPC is down.

  5. Here you will need ETH/GoETH/etc for fees. holograph faucet

  6. Bond to the 1st Pod(since faucet provides 100 HLG per day, only one is availalbe). holograph operator:bond

  7. Open on local machine terminal/putty/comand line and run: ssh -f <username>@<host> 'holograph operator -m auto --unsafePassword <password> --sync --healthCheck &>/dev/null' (I've added healthCheck option comparing to previous version, to be able to check status)

  8. On VPS, run: curl http://localhost:6000/healthcheck

The expected result should be: {"status":"alive","providerStatus":{"ethereumTestnetGoerli":"CONNECTED","polygonTestnet":"NOT_CONFIGURED","avalancheTestnet":"NOT_CONFIGURED","ethereumTestnetRinkeby":"NOT_CONFIGURED"}}

Thus, we installed and launched the operator in the background, we can close all console windows now and have a ☕️🫖