Skip to content
ExperimentalTestnet: see pageMainnet: Not availableSoftware: Core bad4a06ea · protocol pqwerai-v8-testnet/1Updated

Earn the IPFS storage reward

Chain 20778: share active from block 1, pool contract deployed, no operator yet

The 5 % IPFS storage share is part of the chain 20778 genesis: ipfs-reward/v1 is bound in the genesis profile and applies from block 1, the first settlement, with no fork flag on any node. Each epoch's issuance is split 67 % PoW / 18 % Smartnodes / 1 % founder / 9 % Quantum Reserve / 5 % IPFS storage pool, credited once per 32-block epoch according to Smartnode vote participation (an epoch without votes credits nothing). The pool address is fixed: 0xf4286aEB5865B9Ea6d620595E9E72707B0134EB5 = CREATE(0x7b20435DE366181F009b24BD25045Eb4fEf89252, nonce 0). The IPFS reward v2 pool contract was deployed in block 143 as that deployer's nonce-0 transaction (27 November 2026); the share credited before then accrued to the address. No storage operator runs on chain 20778 yet, and nothing has been claimed. Public model downloading needs no bond or enrollment; these rules concern reward participation only (see public distribution).

Operators of IPFS Kubo nodes, alone or in an IPFS Cluster, keep network content available: model weights, contract artifacts and the documentation. From block 1, every settled epoch sends 5 % of block issuance to the IPFS reward pool, taken from the PoW share of the 72/18/1/9 base split. The split is therefore 67 % PoW / 18 % Smartnodes / 1 % founder / 9 % Quantum Reserve / 5 % IPFS; no extra supply is created.

How it works: bonded proof of access (v2)

  1. The pool keeps a manifest of the content the network needs: each entry is a CID, its size and the Merkle root of its bytes in 1 KiB chunks.
  2. You bond tPQAI, register your node and declare which manifest entries you pin. The declaration counts from the next round.
  3. Every round the pool challenges random 1 KiB chunks of what you declared. The choice comes from the block hash at the start of the round, so nobody knows it in advance.
  4. Your agent reads those chunks from your own Kubo node and sends them with a Merkle path before the deadline. The contract checks them against the manifest root.
  5. After the round, it is settled: every operator who proved receives a share by proven bytes. Late, missing or wrong answers are slashed from the bond.

The earlier v1 design (proof of pinning without a bond, protocol/IPFS_REWARD_V1.md) is not used on chain 20778.

Design parameters (IPFS reward v2)

These are the parameters of the v2 contract and specification (protocol/IPFS_REWARD_V2.md). The pool is deployed on chain 20778; read the values from the contract to confirm them before you bond.

Parameter Value
Pool 0xf4286aEB5865B9Ea6d620595E9E72707B0134EB5 on chain 20778: deployed in block 143 as the deployer's nonce-0 transaction
Rounds 192 blocks (about 30 minutes)
Proof deadline 4 blocks after the round's seed block (about 35 seconds)
Challenges at least 8 per proof, and every holding is challenged every round (at most 32)
Bond 1 tPQAI per identity + 0.1 tPQAI per declared GiB
Penalty 5 % of the bond for a miss, rising with each consecutive miss; jailed after 3 in a row
Unbonding and payout changes take effect 48 rounds (about a day) later
Earning replicas at most 3 provers per content earn weight; extra provers share it
Identity gate none (directory = 0): the bond is the only one
Curator publisher key; manifest changes wait 9,300 blocks (about a day) and start the round after

What you will need

  • A Kubo node with its RPC API on 127.0.0.1:5001, pinning manifest content (an IPFS Cluster peer can do the pinning; the reward is per Kubo node).
  • An operator key with tPQAI for the bond and gas, and a payout address (can be a wallet address you keep offline).
  • Python 3 with eth-account, eth-abi and cryptography, and a Core RPC endpoint on chain 20778.

Run the agent (after the pool is deployed)

# what a manifest entry looks like (the curator publishes these on the pool)
python -m storage.ipfs_reward manifest --kubo http://127.0.0.1:5001 --cid <CID>

# bond, register, declare manifest entry 0, then answer every round within the deadline, settle and claim
python -m storage.ipfs_reward agent-v2 --rpc <core RPC URL> --pool 0xf4286aEB5865B9Ea6d620595E9E72707B0134EB5 \
    --key-file ~/.pqwerai/ipfs-operator.key --payout <payout address> --holdings 0 \
    --bond-margin-bps 2000 --keeper

# leave: move part of the bond to unbonding, or exit completely; withdraw after the unbonding delay
python -m storage.ipfs_reward unbond-v2 --rpc <core RPC URL> --pool <v2 pool address> --key-file <key> --amount <wei>
python -m storage.ipfs_reward unbond-v2 --rpc <core RPC URL> --pool <v2 pool address> --key-file <key> --exit
python -m storage.ipfs_reward withdraw-v2 --rpc <core RPC URL> --pool <v2 pool address> --key-file <key>

The agent refuses to declare content whose Merkle root its Kubo node cannot reproduce, answers each challenge with bytes read from Kubo at that moment, and never prints the key. --bond-margin-bps 2000 keeps the bond 20 % above the requirement. --keeper also slashes other operators' unaccounted misses (slashes go to the reward carry, never to the curator). The agent polls every 2 seconds by default: keep it close to a fast Core RPC, because the deadline is only 4 blocks.

Proof of access, not proof of unique storage

v2 proves fast, reliable access to the declared bytes and makes failures expensive. It does not prove the bytes sit on your own disk: a node that can fetch the challenged chunks fast enough from elsewhere still passes. Bonds and rewards are tPQAI with no monetary value.

Limits

  • Every identity needs its own bond, and the replica cap limits what copies of one content can earn.
  • The round seed can still be re-rolled by the miner of the seed block withholding it (documented residual risk).
  • The pool contract is unaudited test-network code (author review only).
  • On chain 20778 no storage operator or agent has run yet.

Sources at 83ff5b69f0 (project repository, not public yet): protocol/IPFS_REWARD_V1.md · protocol/IPFS_REWARD_V2.md · contracts/ipfs/IPFSRewardPool.sol · contracts/ipfs/IPFSRewardPoolV2.sol · storage/ipfs_reward.py

Found a problem? Report a documentation issue · Build testnet-20778+83ff5b69f0