Simulated demo
Solidity Crowdfunding Smart Contract
Decentralized crowdfunding contract with contributor voting, spending requests, refunds, deployment scripts, and full test coverage.
What this demonstrates
Campaign funding with contributor voting on spending requests and optional refunds when rules are not met.
Key Solidity concepts
- Mapping balances and contribution tracking
- Voting on spending proposals
- Restricted withdrawals after approval
- Refund patterns for contributors
Demo scope
Simulated contributions, votes, and payouts in the browser. No real ETH or governance transactions occur.
Educational governance sketch; not audited. Real crowdfunding needs legal compliance, multisig/timelocks, and stronger access controls.
Campaign goal
10.0000 ETH
Total raised
6.4000 ETH
64% funded
Spending request
Pay vendor for prototype hardware — 2.5000 ETH
Votes — Yes: 12 · No: 3
Refund note: if a spending request is rejected or the campaign fails, contributors can be refunded according to contract rules (simulated explanation only).
Key features
- •Contributor voting on spending requests
- •Campaign goal and balance tracking
- •Refund path for failed governance
- •Deployment scripts and full tests