atoma-network / atoma-contracts

Smart contracts repository for the Atoma Network
2 stars 0 forks source link

Need to charge an additional fee for Sampling Consensus, for each tx #96

Open jorgeantonio21 opened 1 month ago

jorgeantonio21 commented 1 month ago

For Tasks that require Sampling Consensus for verifiability (see our whitepaper), each attestation node needs to be paid the right amount of work, moreover, in order to incentivize each node, each transaction needs to accrue a 20% value. So the final payment should be:

1.2 * (1 + p * nodes_for_attestation) * price

where p is the replication rate probability, and nodes_for_attestation the number of attestation nodes that need to be selected.