Inspiration

Crowdfunding punishes the people who show up first. An early backer takes on the most risk, because a campaign that misses its target leaves their money stuck, and a campaign that hits it needed their trust before anyone else had given it. We wanted a crowdfund where backing early is the safe move, so that the first pledge becomes the easiest one to make. Campus clubs and small communities with a sponsor behind them seemed like the right place to start, since the sponsor’s money can do two jobs while only one of them ever gets paid.

What it does

Boomerang is a crowdfund on Arc where a sponsor locks two pots before a campaign opens. The match pays the recipient only if the target is met, and the bonus pays early backers only if it is missed. If the campaign hits its target, the recipient receives the pledges plus the match and the bonus returns to the sponsor. If it misses, every backer gets a full refund and the early backers split the bonus. Before anyone pledges, the contract’s quoteIfMissed function shows exactly what that pledge would bring back if the campaign failed. Nobody can withdraw early and nobody owns the contract.

How we built it

We wrote three Solidity contracts: Boomerang holds every campaign rule and all of the money, SignedPledge accepts one-signature pledges, and PledgeRouter turns a Circle CCTP V2 mint into a pledge in a single transaction. A TypeScript keeper service reads Arc’s node every five seconds, rebuilds a ledger from contract events alone, and calls finalize and the payouts the moment a deadline passes. A shared TypeScript kit mirrors the contract’s arithmetic, and tests check that it matches the contract exactly. The frontend is React and Vite with viem, with a Next.js and Three.js landing experience, and the whole app runs on Vercel and Azure. A one-command script spins up a local node, the contracts, example campaigns, the keeper and the page with no wallet extension needed.

Challenges we ran into

Settlement was the hardest part. A contract cannot act at a deadline on its own, so we built a keeper that holds no rights in the contract and only makes calls anyone could make, which means a dead keeper delays payouts and never loses them. One-signature pledges needed an authorization that binds a campaign and an amount, and EIP-2612 permit cannot do that, so we used Circle’s EIP-3009 receiveWithAuthorization with a nonce that commits to both. Arc’s public node also refuses bursts of log requests, so the keeper and the page both had to read in small, paced steps and prove their ledger is complete before trusting it.

Accomplishments that we're proud of

The contract is live on Arc Testnet with verified source and passes six keyless live checks, covering the deployed code, its creation transaction, the absence of owner functions and DELEGATECALL, solvency, the event-rebuilt ledger and the signature helper. Twelve campaigns have run on Arc, and the keeper settled the most recent ones one to five seconds after their deadlines with nobody pressing anything. The Proof tab lets any visitor rerun those checks in their own browser. We also wrote an attack table that states plainly what the design cannot stop, such as a recipient backing their own campaign, along with the rule that caps the loss.

What we learned

Putting money behind an economic claim forces a level of precision that prose never does, since every edge case in “early backers split the bonus” became a test with worked numbers. We learned how Circle’s CCTP V2 hooks and EIP-3009 authorizations compose on Arc, and how much trust a user gains when the page shows a figure computed by the contract itself. Designing the keeper to be disposable taught us that the safest off-chain component is one that holds no authority at all.

What's next for Boomerang

First, a pledge form for backers on other chains: the cross-chain router is deployed but has only been exercised against a stand-in for Circle’s contracts, so the next step is a live CCTP run from Base Sepolia. After that we want a real campaign with a real campus club sponsor, a check of how common wallets display the signed pledge’s typed data, and a security review before any mainnet deployment. We also plan to let sponsors open campaigns with custom terms directly from the page, which today only supports fixed two-minute and ten-minute terms.

Built With

Share this project:

Updates

Submission history