Key (NFT-based)

The Haku License Key is a unique, non-fungible token (NFT) that is required to operate a Haku Node in the Haku Chain. The Haku Key serves as proof of eligibility for a node to submit claims and receive rewards. It is minted by sending the correct amount of AVAX, and the price for minting is determined by an increasing threshold system.

The Haku Key plays a crucial role in the Haku Tasks Smart Contract. When a node wants to submit an assertion to a challenge, it must provide its Haku Key ID. The Haku Tasks contract checks if the Haku Key is valid and if the node is either the owner of the Haku Key or an approved operator. If these conditions are met, the node's assertion is submitted to the challenge.

The Haku Key also plays a role when claiming a reward for a successful assertion. The Haku Tasks contract checks if the owner of the Haku Key is valid for a payout. If these conditions are met, a reward is sent to the owner of the Haku Key.

In summary, the Haku Key is a key component in the Haku Chain that regulates the operation of Haku Nodes, the submission of assertions, and the distribution of rewards.

Last updated