Skip to content

About

This Clarity smart contract creates a decentralized funding platform for open source projects on the Stacks blockchain. It implements a milestone-based funding system where contributors can fund projects with STX tokens, and funds are released incrementally as project milestones are completed through community voting.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Open Source Project Funding Smart Contract

A decentralized platform for funding open source projects with milestone-based fund releases, built on the Stacks blockchain using Clarity smart contracts.

Overview

This smart contract enables transparent, milestone-based funding for open source projects. Project creators can register their projects with defined milestones, contributors can fund projects with STX tokens, and funds are released only when milestones are completed and approved by the community through weighted voting.

Key Features

🚀 Project Management

  • Project Registration: Create projects with detailed descriptions, funding goals, and milestone breakdowns
  • Milestone Tracking: Define up to 10 milestones with specific funding amounts and descriptions
  • Project Status: Active/inactive project states with admin controls

💰 Funding Mechanism

  • STX Token Support: Native Stacks token funding with secure transfers
  • Contribution Tracking: Individual contributor records and statistics
  • Platform Fees: Configurable platform fee (default 2.5%) for sustainability

🗳️ Governance System

  • Weighted Voting: Voting power based on contribution amounts
  • Milestone Approval: Community votes on milestone completion
  • 7-Day Voting Period: Standard voting window for milestone decisions
  • Transparent Process: All votes recorded on-chain

🔒 Security Features

  • Input Validation: Comprehensive validation for all user inputs
  • Emergency Refunds: Refund mechanism for failed projects
  • Access Controls: Owner-only functions and admin privileges
  • Anti-Double Voting: Prevention of duplicate votes per milestone

Contract Functions

Public Functions

Project Creation

(create-project title description funding-goal milestone-descriptions milestone-amounts)

About

This Clarity smart contract creates a decentralized funding platform for open source projects on the Stacks blockchain. It implements a milestone-based funding system where contributors can fund projects with STX tokens, and funds are released incrementally as project milestones are completed through community voting.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors