https://github.com/BiMalxMe/FundingSOL
A decentralized crowdfunding platform built on Solana using Anchor.
CrowdFunding Dapp enables anyone to create, manage, and contribute to fundraising campaigns on the Solana blockchain. Campaign creators can set funding goals, share their stories, and securely withdraw raised funds. Donors can transparently support causes they care about, with all transactions recorded on-chain.
- Create Campaigns: Launch your own fundraising campaign with a title, description, image, and funding goal.
- Donate Securely: Contribute SOL to campaigns directly from your wallet.
- Transparent Withdrawals: Campaign creators can withdraw funds, with platform fees handled automatically.
- Platform Governance: Platform settings (like fees) are managed on-chain for transparency.
- Solana: High-performance blockchain for fast, low-cost transactions.
- Anchor: Framework for Solana smart contract development.
- TypeScript/Javascript: For tests and client interaction.
- Clone the repository
- Install dependencies
npm install - Build and test the program
anchor build && anchor test
The project includes a comprehensive test suite covering all major functionalities:
- Program initialization
- Campaign creation, update, and deletion
- Donations (including edge cases)
- Withdrawals (including authorization and minimum amount checks)
- Platform settings updates
To run the tests: