Get Started with BigBlocks
Set up your Bitcoin development environment in minutes. This guide covers installation, configuration, and your first component.
Prerequisites
Required Software
- Node.js 18+ or Bun (recommended)
Bun is faster and has better compatibility
- React 18.x or 19.x
Both versions are supported
- TypeScript (optional but recommended)
Full TypeScript support with auto-complete
Environment Setup
If you're using OAuth providers for backup storage, you'll need:
💡 OAuth is optional - used only for encrypted backup storage across devices
Installation
Install BigBlocks
Import Required CSS
⚠️ Critical: You must import the CSS file for components to display correctly
Wrap Your App with Providers
💡 The providers enable authentication, data fetching, and theme management
Quick Examples
Basic Authentication
Add Bitcoin-based authentication with a single component:
Send Bitcoin
Enable Bitcoin transactions with built-in UI:
Available Components
Explore 100+ production-ready components organized by category:
Authentication
Identity and authentication components
Wallet
Wallet and payment components
Social
Social interaction components
Marketplace
Marketplace and trading components
Profiles
User profile management
UI Components
UI primitives and layout components
Common Issues
Components are unstyled or broken
Make sure you've imported the CSS file:
Missing QueryClient provider error
Wrap your app with BitcoinQueryProvider:
OAuth providers not working
Check that you've set up environment variables correctly and that callback URLs match your OAuth app configuration.