2. Initialize a Node

Step1: Download the CLI client

https://github.com/Lumoz-protocol/Lumoz-zkverifier-node-cli/releases/tag/mainnet-v0.0.1

Step2: Open terminal/cmd and enter the client directory and run(macOS as an example)

./zkVerifier-node-macos-arm64

Step3: Init your node.

  1. Enter init,then press Enter.

  2. Enter the private key of the node owner(the wallet holding the license), then press Enter.

Creating a node requires interaction with the smart contract. Since the CLI cannot directly interact with your wallet and the on-chain smart contract, you will need to input your private key. However, the private key remains on your local device and will only be used once during the initialization process.

  1. Enter the address of the node operator, then press Enter.

If you do not enter an address and just press Enter, the address will default to the node owner. This node operator's address is primarily used for interacting with the Lumoz chain, including but not limited to submitting verification task results, and requires some MOZ as gas fee tokens.

  1. Check the operator's address, if it's correct, enter y/Y or just press Enter, else, enter n/N, enter the right address.

  2. Enter the number of licenses to delegate to yourself, at least one.

  3. Set the reward distribution split: your commission, delegated license rewards, and staked esMOZ rewards. The total must equal 100, or just press Enter to use the default value.

Default split:

commission rewards: 5(5%)

delegated license rewards: 45(45%)

staked esMOZ rewards: 45(45%)

  1. Enter your node name, None as default.

  2. Enter your node description, None as default.

  3. Enter your node logo URL, None as default.

  4. Enter your social media URL, None as default.

Congratulations, your node operator has been successfully initialized.

Last updated