Back
DagFund
ToolsKickstarterAll-or-nothing crowdfunding. Pledge BDAG, refund if goal missed.
Creator sets a goal and deadline. Backers contribute BDAG. If the goal is met by the deadline, creator withdraws (3% fee to treasury). If missed, every backer can claim a full refund.
Contracts
How to use
1
Call createCampaign(title, description, goal, deadline).
2
Backers call contribute(id) with BDAG. Contributions tracked per-address.
3
After deadline: if raised >= goal, creator calls withdraw(id) — 97% to creator, 3% to treasury.
4
If goal missed, any backer calls refund(id) for a full return.
Cost
3% protocol fee on successful campaign withdrawals. No fee on failed campaigns or refunds.