Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

StackStarter: Milestone-based Crowdfunding Platform

StackStarter is a decentralized crowdfunding platform built on Stacks that introduces milestone-based funding releases, ensuring accountability and reducing risk for project backers. The platform enables project creators to raise funds while giving backers confidence through a democratic milestone verification process.

Key Features

Milestone-Based Fund Release

  • Funds are locked in smart contracts and released incrementally
  • Project creators define milestones with specific funding requirements
  • Funds are only released when milestones are successfully validated
  • Each milestone requires a predetermined number of backer votes to be marked as complete

Democratic Milestone Validation

  • Campaign backers can vote on milestone completion
  • Voting rights are granted to addresses that have contributed funds
  • Multiple votes required to validate each milestone
  • Transparent voting process recorded on-chain

Secure Fund Management

  • All funds are held in secure smart contracts
  • Automatic refund mechanism if funding goals aren't met
  • Milestone-specific fund allocation
  • Protection against unauthorized withdrawals

Campaign Creation and Management

  • Creators can define campaign parameters:
    • Funding goals
    • Campaign duration
    • Project description
    • Individual milestone requirements
  • Real-time tracking of campaign progress
  • Transparent fund allocation and withdrawal history

Smart Contract Functions

For Project Creators

  • create-campaign: Initialize a new funding campaign
  • add-milestone: Define project milestones with required funds and deadlines
  • withdraw-milestone-funds: Withdraw funds after milestone completion

For Backers

  • fund-campaign: Contribute STX to a campaign
  • vote-milestone: Participate in milestone validation
  • claim-refund: Retrieve funds if campaign fails to meet goals

View Functions

  • get-campaign-info: Retrieve campaign details
  • get-milestone-info: View milestone information
  • get-funder-amount: Check contribution amount for any address

Security Features

  • Role-based access control
  • Input validation for all functions
  • Protected fund withdrawal mechanism
  • Deadline enforcement
  • Anti-double-voting protection
  • Automatic state management

Error Handling

The contract includes comprehensive error handling for:

  • Unauthorized access attempts
  • Invalid campaign operations
  • Insufficient funds
  • Duplicate votes
  • Invalid milestone states
  • Campaign deadline violations

Getting Started

To interact with StackStarter, users need:

  1. A Stacks wallet with STX tokens
  2. Access to the Stacks blockchain
  3. Permission to interact with the deployed contract

Use Cases

  • Software development projects
  • Product launches
  • Creative projects
  • Community initiatives
  • Research and development
  • Non-profit campaigns

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages