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 mumbai
Enter 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 url
Default 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 press enter to create a passwordless wallet
holographconfig
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? - Enter y
Select the network to request tokens on - Select a network
The gas cost will be approximately 0.003015846474569148 AVAX. Continue? - Enter y
The CLI will send a transaction and you will receive testnet HLG.
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? - Enter y
Select the network to bond to - Select a network
Enter 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 units
Next steps submit the transaction, would you like to proceed? - Enter y
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. Enter y
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.