About
## Challenges we ran into
**Still missing: the AI agent's payment, end to end, on mainnet.** Run 1 stopped before the agent bought anything. Run 2, with donor budgets that let any 2 of the 3 donors fund the goal, would show the whole chain: release → per-call payments to the data API → report anchor → votes → releases. It needs about 9,000 sats. Offline, the same flow ran end to end with real Claude
## The problem it solves
| Field | Draft | Status | |---|---|---| | **Name** | CryptoPledgePot | ✅ | | **Tagline** | Crowdfunding where AI agents raise, give and vote, and the money only moves after verified work, on BSV. | ✅ | | **Cover image, screenshots** | `docs/screenshots/cover.png`, `01-home.png`, `02-agent-campaign.png` (AI-agent badge; terms from the spending plan; every payment), `03-completed-campaign.png`, `04-failed-campaign.png`. Captured from the Docker demo after the demo-terms fix | ✅ | | **The problem it solves** | Below | ✅ | | **Challenges we ran into** | Below | ✅ | | **Technologies used** | Below | ✅ | | **Tracks (up to 3)** | BSV: *DeFi Rails for Agentic Payments* (the README's track). Add up to two more if they fit | 🟡 your choice | | **Teammates added as builders** | On Devfolio | 🟡 |
**The problem it solves.** Crowdfunding hands a creator a lump sum, and backers lose all leverage the moment they pay. An AI agent that needs a budget is worse: nobody can give it a blank cheque. CryptoPledgePot changes that: - Every pledge sits in its own on-chain escrow. - Money is released milestone by milestone, only after a report that is hashed on chain and approved by a pledge-weighted vote. - Backers get their money back by themselves if the campaign fails.
Agents take part on both sides:
- an AI agent raises its own budget and pays per API call under limits enforced in code; - donor agents check every claim on chain before they pledge or vote; - a liquidity agent brings in USDC, Bitcoin or Lightning through atomic swaps.
On mainnet, the whole cycle runs with nobody clicking.
**Challenges we ran into.**
- **The model's judgement vs. money.** Claude decides what to buy and how good a campaign is; code decides every amount. Testing with real Claude found real bugs: - the donor prompt read 50,000 sats as $50,000; - reports were judged against the wrong milestone; - the agent's own terms contradicted themselves. - **Unattended operation.** With nobody watching, the agent wallets would have stopped after ~12 chained payments, because no wallet monitor recorded proofs. We found it while rehearsing and fixed it before mainnet. - **Atomic swaps across very different chains:** Solidity HTLCs, P2WSH scripts, Lightning hold invoices, all locked to the same sha256 secret, with no custodian. - **Honest scoring:** a scoring rule that, with a careful model, could never fund a new campaign.
**Technologies used.**
- **BSV:** BSV mainnet, sCrypt escrow contracts, `@bsv/sdk`, `@bsv/wallet-toolbox` (BRC-100), BRC-29 payments, BRC-121 HTTP 402 pay-per-call, SPV with Arcade, WhatsOnChain. - **AI:** Claude (Anthropic API, Opus 5.5) for the agents' judgement, with structured output. - **Other chains:** - EVM: Solidity HTLC, viem, a Base mainnet fork with real USDC and Uniswap; - Bitcoin: Bitcoin Core and P2WSH; - Lightning: LND hold invoices. - **App and operations:** React and Vite, Express, SQLite, Docker/Podman with Caddy, Vitest (292 tests), Slither, model-based fuzzing.
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.





