Installation
Install Node
# Update the repositories
apt update && apt upgrade -y
# Install NVM on Ubuntu
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
echo 'export NVM_DIR="$HOME/.nvm"' >> ~/.bash_profile
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bash_profile
echo '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"' >> ~/.bash_profile
source ~/.bash_profile
# Install NodeJS
nvm install v20.8.0
# Install Holograph CLI
npm install -g @holographxyz/cli
This command must be run before all other holograph
commands. The holograph config
command will walk you through setting the RPC URls and wallet. Simply follow the prompts.
Which networks do you want to operate?
- Choose a network in which you can take test tokens, for example goerli and mumbaiEnter the provider url for fuji. Leave blank to use https://api.avax-test.network/ext/bc/C/rpc:
- press enter or copy and paste an RPC urlDefault private key to use when sending all transactions (will be password encrypted)
- Enter the private key for the wallet. Input is hidden for security reasons.Please enter the password to encrypt the private key with
- Enter some password for your wallet or pressenter
to create a passwordless wallet
holograph config

Request test tokens from the faucet [ goerly | mumbai ]
Faucet - Testnet HLG
To get testnet HLG tokens, you must run the holograph faucet
command. You are allowed to claim 100 HLG once every 24 hours per blockchain. If you want to operate on multiple blockchains, you will need to call this command on every network.
Would you like to request $HLG tokens?
- Entery
Select the network to request tokens on
- Select a networkThe gas cost will be approximately 0.003015846474569148 AVAX. Continue?
- Entery
The CLI will send a transaction and you will receive testnet HLG.
holograph faucet

Operator
To become an operator, you must bond HLG into a pod. You are required to maintain uptime or risk having your HLG slashed. Please read our Operator Network Specification for more information.
To bond into a pod, you must run the holograph operator:bond
command.
Do you have the operator with the wallet you are bonding from running on the network and are ready to proceed?
- Entery
Select the network to bond to
- Select a networkEnter the pod number to join
- Select a pod number from the list. The number shown is the minimum required to join.Enter the amount of tokens to deposit (Units in ether)
- Enter how much you want to bond in ETH unitsNext steps submit the transaction, would you like to proceed?
- Entery
The CLI will submit a transaction to bond you into the pod
Last chance to start your operator if you don't have it running already. Would you like to proceed?
- We suggest running as an operator immediately. Entery
It is very important to keep the CLI running at all times. When jobs are created and you are selected to execute the job, the CLI will submit the required transaction. If the command dies for any reason, you can always restart by running the holograph operator
command.
holograph operator:bond

Service File
If you have created a wallet password:
# Enter your wallet password
pass=<your_password>
sudo tee /etc/default/holographd > /dev/null <<EOF
HOLOGRAPH_PASSWORD=$pass
EOF
sudo tee /etc/systemd/system/holographd.service > /dev/null <<EOF
[Unit]
Description=Holograph
After=network.target
[Service]
Type=simple
User=root
EnvironmentFile=/etc/default/holographd
ExecStart=/bin/bash -c '$(which node) $(which holograph) operator --mode=auto --unsafePassword=\$HOLOGRAPH_PASSWORD --sync'
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
If the wallet was created without a password:
sudo tee /etc/systemd/system/holographd.service > /dev/null <<EOF
[Unit]
Description=Holograph
After=network.target
[Service]
Type=simple
User=root
ExecStart=/bin/bash -c '$(which node) $(which holograph) operator --mode=auto --sync'
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
Next step...
systemctl daemon-reload
systemctl enable holographd
systemctl restart holographd
# Check logs
journalctl -u holographd -f -o cat
Last updated
Was this helpful?