The last member pays
Each payment goes into OsusuHub, which emits Paid with the count so far and the round's deadline.
Reactive Omni Buildathon · Set It and Forget It
Everyone in a small group pays in every round, and one member takes the whole pot, in turn, until everyone has had theirs. In Nigeria this is osusu, ajo or esusu. Here nobody holds the book: the round closes the moment the last member pays, or when its time is up, and the pot goes straight to the member whose turn it is.
Live from Base Sepolia and Reactive Lasna
Rounds closed in this circle
How it works
Each payment goes into OsusuHub, which emits Paid with the count so far and the round's deadline.
OsusuReactive is subscribed to the hub's events. When the count reaches the circle's size, its react() requests a callback. When a deadline passes, Reactive's clock does the same.
Reactive's callback proxy calls closeRoundIfReady(circle, round). Anyone may call it. It closes the round only if the hub's own storage says everyone has paid or time is up; otherwise it does nothing.
USDC goes to the member whose turn it is, in the same transaction. A missed payment is covered from that member's deposit, and the next round opens.
No owner, no withdraw, no upgrade. The hub has no admin. The automation holds no money and no keys, and has no power except to ask.
If Reactive stops, nothing is stuck. Anyone can close a ready round by calling closeRound. Members can still pay.
Its clock sleeps. Clock ticks are billed whether or not they do anything, so the automation listens to a 3-hour clock while a deadline is days away, and a 2-minute clock only in the last half hour.
Try it with your own wallet
Paste a Base Sepolia address. A two-person circle starts with you first in line, and your deposit and payment are paid for you. Watch Reactive close round 1 seconds after the last payment and send test USDC to your wallet. Round 2 then closes by itself at its deadline, with nobody acting.
No signature and no wallet connection: you only receive. Test USDC on Base Sepolia, worth nothing.
Evidence, on chain
| Loading… |
Check all of it yourself with npm run verify, which reads only the two chains.