> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hoodshot.games/llms.txt
> Use this file to discover all available pages before exploring further.

# Become a Settler and Earn 0.5% Per Bet

> Settlement is permissionless. Anyone who submits a bet's settle transaction earns half of the 1% protocol fee, funded at placement.

Settlement, the transaction that pays a bet out, is **permissionless**. `settle(id, signature)` can be called by anyone, and the contract pays whoever calls it half of the 1% protocol fee: **0.5% of the bet's stake**, in the bet's token, the moment the settle lands. The fee was collected from the player at placement and reserved, so the bounty is funded, not theoretical.

That includes the player. Settle your own bet and the share comes back to you, halving your effective fee.

HoodShot runs a keeper that settles within seconds, so settling is a race. But the race is open: if the keeper is slow, offline, or you are simply faster, the share is yours.

## The loop

<Steps>
  <Step title="Find an unsettled bet">
    Watch the contract's bet placement events, or walk `nextBetId()` and check `bets(id).settled`. Pure on-chain reads, no HoodShot infrastructure needed.
  </Step>

  <Step title="Fetch the signature">
    `GET https://signer.hoodshot.games/v1/signatures/<betId>` returns `200` with the signature once signed, `404` while pending, `410` once settled (too late).
  </Step>

  <Step title="Submit the settle">
    Call `settle(betId, signature)` on the contract. It verifies the signature against the on-chain key, pays the player, and pays you. Your `SettlerFeePaid` event is the receipt.
  </Step>
</Steps>

```bash theme={null}
SIG=$(curl -s https://signer.hoodshot.games/v1/signatures/$ID | jq -r .signature)
cast send 0xB0d213833612E5557Ad68F4Dcc96d024B5B74Fb7 "settle(uint256,bytes)" $ID $SIG \
  --rpc-url https://rpc.mainnet.chain.robinhood.com --private-key $KEY
```

## The economics

* Reward: 0.5% of stake per bet you win the race for.
* Cost: one transaction where  gas is fractions of a cent on Robinhood Chain.
* Risk: losing the race. Your transaction reverts with `AlreadySettled()` and you paid its gas. Simulate before sending.

This design keeps payouts trustless: even if every settler disappeared, a player can always settle their own bet, and earns the share back for doing it. Nobody's payout depends on anyone showing up.
