Time to read: 1 min
Para el índice completo de documentación, consulte llms.txt
Build with the Collective DAO Starter Kit on Rootstock
This quick start points to the RootstockCollective starter kit, a sample dApp that uses @rsksmart/collective-sdk for staking RIF, listing proposals, and voting on Rootstock Mainnet or Testnet.
What you'll achieve
- Run the Collective sample dApp locally with Wagmi and RainbowKit
- Stake RIF and interact with governance proposals on Rootstock
- Use the Collective SDK patterns in your own dApp
What you do here
Follow the Setup section in the repo README: clone, copy .env from .env.example, set the variables it describes, install, and run npm run dev. That README is the only canonical place for install commands and environment keys so they stay in sync with the kit.
Prerequisites
- Node.js 18+
- A Reown (WalletConnect) project ID for the dApp (see README)
- Optional Rootstock RPC API key for higher rate limits (see README)
- A wallet on Rootstock (chain ID 30 or 31) with tRBTC for gas and RIF or stRIF as needed for flows you test
After the app runs
For how SDK calls map to src/ files, simulation before writes, governance UX edge cases, and a production checklist, use the use case guide: