Skip to content

Fayvor22/nebgov

 
 

Repository files navigation

NebGov

Permissionless on-chain governance for every Soroban protocol.

NebGov is the canonical governance framework for the Stellar ecosystem — a modular, auditable, and composable set of smart contracts that any Soroban protocol can plug into to add on-chain governance.

License: MIT CI codecov


What It Does

Feature Description
Proposal lifecycle Create, vote, queue, and execute on-chain proposals
Timelock execution Mandatory delay between passing and execution
Token-weighted voting Snapshot voting power from any SEP-41 token
Delegation Delegate voting power to any address
Multi-sig treasury DAO-controlled treasury with configurable threshold
Permissionless factory Deploy your own governance instance in one call

Packages

Package Description
contracts/governor Core governance contract (Rust/Soroban)
contracts/timelock Delayed execution controller (Rust/Soroban)
contracts/token-votes Voting power with checkpointing (Rust/Soroban)
contracts/governor-factory Permissionless governor deployer (Rust/Soroban)
contracts/treasury Multi-sig treasury (Rust/Soroban)
sdk/ TypeScript SDK (@nebgov/sdk)
app/ Next.js governance dashboard

Quick Start

Get started by deploying your first NebGov DAO to the Stellar testnet in under 10 minutes:

👉 Deploy your first DAO on Stellar with NebGov

For full setup instructions and contribution guidelines, see CONTRIBUTING.md.


Architecture

See docs/architecture.md for the full design overview.

propose() → Governor → [voting period] → queue() → Timelock → execute()
                ↓
          Token Votes (snapshot voting power)

Contributing

See CONTRIBUTING.md to get started.

Issues are labeled by complexity:

  • complexity: trivial
  • complexity: medium
  • complexity: high

Ecosystem Integrations


License

MIT

About

Resources

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 56.9%
  • Rust 41.6%
  • Shell 1.4%
  • Other 0.1%