Skip to content

Real audit submissions with findings, judge feedback, appeals, and post-review improvements. Part of my smart-contract-security series to grow and share Web3 security knowledge.

Notifications You must be signed in to change notification settings

SashaFlores/RustFund

Repository files navigation

About the Project

RustFund is a decentralized crowdfunding platform built on the Solana blockchain It enables creators to launch fundraising campaigns and contributors to support projects they believe in, all in a trustless and transparent manner.

Features

  • Create Fundraising Campaigns: Creators can launch campaigns with custom names, descriptions, and funding goals
  • Contribute to Projects: Users can contribute SOL to any active campaign
  • Refund Mechanism: Contributors can get refunds if deadlines are reached and goals aren't met
  • Secure Withdrawals: Creators can withdraw funds once their campaign succeeds

Actors

Creator

  • Creates new fundraising campaigns
  • Sets campaign deadline
  • Withdraws raised funds after successful campaigns
  • Has exclusive rights to manage their campaign settings

Contributor

  • Contributes SOL to campaigns
  • Can request refunds under if the campaign fails to meet the goal and the deadline is reached

Scope (contracts)

src/
├── lib.rs

Compatibilities

Blockchains:

  • Solana

Tokens:

  • SOL

Setup

Prerequisites

Build:

anchor build

Test:

yarn install 
anchor test

Known Issues

About

Real audit submissions with findings, judge feedback, appeals, and post-review improvements. Part of my smart-contract-security series to grow and share Web3 security knowledge.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published