DeParty combines video conferencing with decentralized governance and token-gated access, powered by Solana and MagicBlock's Ephemeral Rollups technology for near-instant finality.
The application is deployed and live at: DeParty - The Hub for Degen Parties
Video preview of the protocol: Demo
Program ID on Devnet: ParTyJHHCxDHCZkeXBZTAtMQT1t1eospvjgYdpYQmHb
DeParty is a decentralized application that enables users to:
- Create token-gated party rooms that require specific tokens/NFTs for access
- Host live video meetings with other party members through LiveKit integration
- Create and vote on polls for community decision-making
- Enjoy fast transaction confirmation through Ephemeral Rollups
- Manage user profiles with on-chain identity
- Delegate parties and polls to Ephemeral Rollups for sub-second operations
- Token-Gated Access: Create parties that require ownership of specific tokens to join
- Live Video Meetings: Integrated LiveKit video conferencing within party rooms
- On-Chain Governance: Create polls, vote, and automatically execute decisions when thresholds are reached
- Dual-Layer Architecture: Operations on both Solana base layer and Ephemeral Rollups
- Fast Transactions: Sub-second confirmation times for most operations
- User Profiles: On-chain identity management
DeParty uses a multi-layer architecture:
- Base Layer (Solana): Handles secure state storage, token verification, and user authentication
- Ephemeral Rollup Layer: Provides near-instant finality for party operations and polls
- Frontend Interface: React application with LiveKit integration for video conferencing
- Smart Contract: Anchor program that manages party creation, polls, and governance
-
Blockchain:
- Solana Blockchain
- MagicBlock Ephemeral Rollups
- Anchor Framework
- Solana Web3.js & Wallet Adapter
-
Frontend:
- Next.js
- React
- TailwindCSS
- React Query
-
Video Conferencing:
- LiveKit for real-time video and audio
- WebRTC
Ensure you have the following installed:
- Rust:
rustc 1.82.0or later - Solana CLI:
solana-cli 2.1.21or later - Anchor CLI:
anchor-cli 0.31.1 - Node.js:
v20.10.0or later - npm:
11.3.0or later
-
Clone the Repository
git clone https://github.com/kirarisk/DeParty.git cd DeParty -
Install Dependencies
# Install Anchor program dependencies cd de-party-ER/ npm install # Install frontend dependencies cd ../frontend npm install
-
Build the Anchor Program
cd ../de-party-ER anchor build -
Run Tests
anchor test -
Run the Frontend
cd ../frontend npm run dev
DeParty/
├── de-party-ER/ # Solana smart contract (Anchor program)
│ ├── programs/ # Core program logic
│ │ └── de-party/ # Solana program implementation
│ ├── tests/ # Smart contract tests
│ └── Anchor.toml # Anchor configuration
│
├── frontend/ # Next.js frontend application
│ ├── public/ # Static assets
│ └── src/ # Source code
│ ├── components/ # React components
│ │ ├── cluster/ # Solana cluster configuration
│ │ ├── dashboard/ # Main dashboard UI and data access
│ │ ├── livekit/ # LiveKit video conferencing integration
│ │ └── solana/ # Solana wallet integration
│ └── app/ # Next.js app router
- User connects their wallet and creates a profile
- User creates a new party by specifying a token, token amount, and member limit
- Party is created on Solana and delegated to the Ephemeral Rollup
- Other users can join the party if they hold the required token amount
- Upon joining, users can enter the video chat room
- Party creator or members can create polls (General, Mute, Kick)
- Polls are stored on-chain and can be delegated to Ephemeral Rollups
- Party members can vote on active polls
- When the required vote threshold is reached, the poll is closed automatically
- Poll results can be used to execute moderation actions
| Feature | Traditional Solana | With Ephemeral Rollups |
|---|---|---|
| Party Creation | ~6 seconds | ~400ms |
| Joining a Party | ~3.5 seconds | ~300ms |
| Poll Creation | ~3 seconds | ~200ms |
| Voting | ~2 seconds | ~100ms |
| Poll Resolution | ~5 seconds | ~10ms |
DeParty uses LiveKit for real-time video conferencing:
- Seamless integration with Solana wallet for authentication
- Party rooms automatically generate LiveKit rooms
- Participants can toggle video/audio and screen sharing
- Chat alongside video conferencing
- Polls appear directly in the video interface
- End-to-end encrypted messaging
- More granular token-gating options
- Rewards system and DAO management
- Mobile application support
- Enhanced moderation tools


