Skip to content

Repository files navigation

FaithGovernance

A decentralized governance protocol for the Stacks ecosystem. FaithGovernance enables communities to create proposals, vote on decisions, and execute governance actions with full transparency on-chain.

Vision

Empowering communities with trustless governance. Every proposal, vote, and execution is recorded on the Stacks blockchain, ensuring immutable and transparent decision-making.

Core Principles

  • Decentralized: No single point of control
  • Transparent: All actions are on-chain and verifiable
  • Community-Driven: Token-weighted voting with delegation support
  • Secure: Battle-tested smart contracts with formal verification

Architecture

faithgovernance/
├── contracts/           # Clarity smart contracts
│   ├── dao-core.clar    # Proposal management & voting logic
│   ├── dao-treasury.clar # Asset management
│   └── adapters/        # Execution adapters
├── frontend/            # Next.js governance dashboard
├── tests/               # Comprehensive test suite
└── docs/                # Protocol documentation

Smart Contracts

  • Core: Manages proposals, voting periods, quorum, and execution
  • Treasury: Holds DAO assets with multi-sig authorization
  • Adapters: Extensible execution layer for custom actions

Features

  • Proposal creation with configurable parameters
  • Token-weighted voting with delegation
  • Timelock execution for security
  • Multi-signature treasury management
  • Real-time governance dashboard
  • Mobile-responsive interface

Getting Started

Prerequisites

  • Node.js 18+
  • Clarinet 2.0+
  • Leather or Xverse wallet

Installation

git clone https://github.com/faithorji/faithgovernance.git
cd faithgovernance
npm install

Run Tests

npm test
clarinet check

Start Frontend

cd frontend
npm install
npm run dev

Governance Flow

  1. Propose: Create a proposal with description and execution payload
  2. Discuss: Community debates and provides feedback
  3. Vote: Token holders cast votes during the voting period
  4. Execute: If quorum is met, proposal is queued and executed

Protocol Parameters

Parameter Value
Voting Period 7 days
Quorum Threshold 10% of total supply
Proposal Threshold 1% of total supply
Timelock 48 hours

Security

  • Audited by independent security researchers
  • Formal verification of critical functions
  • Bug bounty program active

License

MIT


Building the future of decentralized governance on Stacks

About

Decentralized governance protocol for the Stacks ecosystem

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages