Keeper network
Execution is open. Any address can run an on-chain automation whose condition holds, and it earns the bounty for doing so.
Today: one operated keeper, open execution
Salmon runs a keeper so automations fire without anyone else. The contract does not privilege it: a faster keeper takes the bounty.
LiveNext: listed independent keepers
A public list of keeper addresses with their run count and failure rate, read from chain events.
PlannedNot planned yet: staking and slashing
A missed run cannot be pinned on one keeper when anyone may execute, so there is nothing fair to slash. Bonds come only with duties that can be proven.
Later, if justifiedRun your own keeper
Three calls. The signed observation is public.
// 1. find automations whose condition holds
GET /v1/onchain/automations
// 2. get a signed observation per condition
GET /v1/onchain/attest?market=BTC&metric=price
→ { "proof": "0x…" }
// 3. send it; the contract checks and pays you
SalmonAutomations.execute(id, [proof])Simulate first. A run reverts, and pays nothing, if the condition does not hold, the observation is older than the limit, or the receiver fails.
What the contract enforces
- Condition
- Checked in the contract at execution, not by the keeper
- Freshness
- An observation older than the limit is refused
- Replay
- An observation can back one run only
- Cooldown
- Enforced on-chain between two runs
- Gas
- The receiver call is capped by the automation's gas limit
- Payment
- Bounty paid only after the receiver succeeded
- Admin
- Can set the fee, capped at 20% of a bounty. Cannot touch balances
Recent keeper activity
Nothing yet.