Skip to content
Back to Blog
Developer Resources

Simplifying DAODevelopment with theRootstock Collective SDK

Read Time: 3 mins
Simplifying DAO Development with the Rootstock Collective SDK

The Rootstock Collective SDK is the easiest way for developers to integrate with the Rootstock Collective DAO. Designed with modern dApp development in mind, it abstracts the complexity of interacting with multiple smart contracts into a clean, modular, and type-safe TypeScript interface.

Built on top of viem, the SDK delivers a familiar, high-performance experience, especially for developers coming from Ethereum or Bitcoin ecosystems, while unlocking the full potential of Rootstock’s unique Build-to-Earn model.

Why the Collective SDK Matters

The Rootstock Collective introduces new primitives like liquid governance and backing builders. The SDK brings these concepts together into a single, intuitive interface.

With it, developers can:

  • Manage multiple assets (RIF, stRIF, USDRIF, rBTC) through one unified API
  • Enable seamless staking and governance participation
  • Build applications around the Backer Economy
  • Interact with DAO proposals and treasury operations programmatically

In short, the SDK removes friction, so you can focus on building.

A Unified Interface for the Collective

At its core, the SDK simplifies how developers interact with the ecosystem.

Instead of juggling multiple contracts and integrations, you get a single entry point to:

  • Stake and delegate
  • Discover and support builders
  • Vote on governance proposals
  • Track holdings and rewards

This unified approach reduces complexity while maintaining flexibility.

Core Modules

The SDK is organized into modular components, each covering a key part of the Collective.

Staking & Liquid Governance (sdk.staking)

Staking is the foundation of participation in the Collective.

Users can stake RIF and receive stRIF, a token that represents both their staked position and their voting power.

  • Stake RIF → receive stRIF
  • Delegate voting power in a single flow
  • Enable liquid governance without locking user experience

This makes governance more accessible and composable across applications.

The Backing Module (sdk.backing)

The Backing module powers the Collective’s Build-to-Earn economy.

It enables developers to build applications that connect backers with builders.

  • Discover active builders, including KYC and approval status
  • Allocate stRIF to support specific builders
  • Access real-time analytics, including APY and reward projections

This opens the door to entirely new UX patterns around ecosystem funding.

Governance & Proposals (sdk.proposals)

The SDK provides full integration with the Collective’s governance system.

Developers can:

  • Create and track proposals (from Pending to Executed)
  • Cast votes (For, Against, Abstain), with optional reasoning
  • Build interfaces for treasury actions and builder onboarding

Complex governance flows become simple to implement.

Holdings & Rewards Engine (sdk.holdings)

Managing assets and rewards is straightforward with the Holdings module.

  • View balances across RIF, rBTC, and USDRIF
  • Claim rewards individually or all at once
  • Analyze rewards by builder (gauges)

This enables rich dashboards and user-friendly portfolio views.

Built for Developers

The Collective SDK is designed to deliver an exceptional developer experience.

import { CollectiveSDK } from ‘@rsksmart/collective-sdk’

// Initialize SDK (Rootstock Testnet)
const sdk = new CollectiveSDK({ chainId: 31 })

// Fetch builders and voting power
const builders = await sdk.backing.getBuilders()
const { votingPower } = await sdk.holdings.getVotingPower(‘0x…’)

What makes it developer-friendly?

  • TypeScript-first: Fully typed exports and enums like ProposalState and VoteSupport
  • Viem-native: Built on a modern, lightweight Ethereum interaction library
  • Network-ready: Supports Rootstock Mainnet (Chain ID 30) and Testnet (Chain ID 31) out of the box

Start Building

The Rootstock Collective SDK is your gateway to building on one of the most innovative DAO models in the Bitcoin ecosystem.

Whether you’re creating wallets, dashboards, governance tools, or entirely new funding mechanisms—the SDK gives you the primitives to move fast and build with confidence.

Explore the repo and start building today.

Recommended articles

PowPeg Composition Change: Signer Set Update

PowPeg Composition Change: Signer Set Update

The Rootstock network will undergo a PowPeg Composition Change at Bitcoin block 8,558,281, (estimated around February 23, 2026). As part of this update, the Bitcoin address used to peg in BTC to Rootstock will change. After activation, users should simply verify the new deposit address before sending BTC, as they normally would. No other action […]

Ecosystem Updates
Rootstock Explorer v3.5.0 Is Live

Rootstock Explorer v3.5.0 Is Live

Rootstock Explorer v3.5.0 is now live, bringing fresh upgrades across contract verification, search, code exploration, and transaction insights. These latest developments make the explorer faster, clearer, and more developer-friendly. All developments are open source. You can contribute your own updates to Rootstock by visiting Github or participating in the Hacktivator program. This release expands contract […]

Ecosystem Updates
Merged Mining in Action: Bridging Secured by Miners, Not Just Signers

Merged Mining in Action: Bridging Secured by Miners, Not Just Signers

Most people evaluate Bitcoin bridges with a simple shortcut: is it a federation, or is it a validator model? In that mental model, a federation bridge is a multisig controlled by a set of known parties. A validator model is a separate group that watches one chain and attests to actions on another. Both categories […]

Fundamentals