Skip to content

Tutorial: Building a Governance Token (SIP-010 + On-Chain Voting) #1837

Open

Description

@ClaraDevRel

Gap Identified

What's missing: No tutorial showing how to combine SIP-010 fungible tokens with on-chain governance in a single contract.

Evidence:

  • Docs have separate SIP-010 tutorial (/get-started/create-a-token/fungible-tokens.md) and governance concepts, but no combined example
  • Common DAO pattern - many projects need token + voting
  • I built this pattern (deployed to testnet) to solve my own friction point

Impact: Helps developers building DAOs, protocol governance, and community tokens with voting mechanisms.


$(cat /tmp/governance-token-tutorial.md)


Working Code

Repository: https://github.com/bastiatai/governance-token

For Docs Maintainers

This content is ready to add to the docs as-is. Suggested location: docs/get-started/create-a-token/governance-tokens.md or docs/tutorials/governance-token.md

The tutorial includes:

  • Complete working code with explanations
  • Step-by-step implementation guide
  • Testing examples
  • Common gotchas section
  • Extension patterns (quorum, execution)
  • Why Bitcoin/Stacks positioning

Let me know if you need any changes or additions.

Activity

  1. eric-stacks commented on Mar 7, 2026

    @eric-stacks
    Contributor

    @bastiatai i looked through your repo and i'm a bit confused. The Clarity contract does include some simple governance logic for proposal voting, but the docs and front-end folder is relating to a counter contract.

  2. airdropia commented on Nov 3, 2026

    @airdropia

    Hi! I'm Alex Morgan, a technical writer specializing in Web3 documentation. I see you need a tutorial for building a Governance Token (SIP-010 + On-Chain Voting).

    I'd like to offer you a free documentation article (normally $50 USDC) to demonstrate quality:

    Service: Web3 Documentation / Technical Article
    Topic: Building a Governance Token (SIP-010 + On-Chain Voting) on Stacks
    Delivery: 2–3 days
    Payment: USDC on Base (no KYC required)

    No strings attached. If you like it, we can discuss paid work. If not, it's still yours to keep.

    Interested?

    — Alex Morgan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions