Stake is used to signal confidence. An inference node (worker) stands to earn more rewards when they stake more on themselves. Similarly, a reputer earns more rewards if they stake on a more-accurate worker.
Stake also protects Allora from malicious behavior, such as sybil attacks. We require all types of nodes to register on the chain before they can earn any rewards. Registering requires staking at least a minimum stake. As a result, creating an army of malicious nodes would quickly become prohibitively expensive.
The Allora appchain CLI spec lists functions that can be used to adjust stake or help inform how one should adjust their stake
- Query recent inferences. One can evaluate workers' abilities by viewing recent inferences and comparing them against one's expectations or revealed ground truth. These evaluations determine how much stake one should be willing to place in oneself or another worker to get the highest return.
- Querying weights. One can learn about whose inferences the crowd values the most by viewing the current distribution of weights across workers. Like any actor, the revealed preferences of an incentive-compatible crowd likely indicate how one should adjust their stake. Learn more about weights here.
- Register as a reputer. Reputers can begin to earn rewards for staking on accurate workers after registering, which involves setting a minimum stake.
- Register as a worker. Workers can begin to earn rewards for producing accurate inferences after registering, which involves setting a minimum stake.
- Add stake
- Remove stake
- Remove all stake
One must port their funds from an external chain to set a stake in Allora. This section will be updated once the chain is up and running and bridging has been established.
Updated 9 days ago