βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β βββββββ βββββββββββββββββββββββββββββββ ββββββ ββββ β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β ββββββββββββββ ββββββ ββββββ βββββββββββββββββββββββ
β ββββββββββββββ ββββββ ββββββ βββββββββββββββββββββββ
β βββ ββββββββββββββ βββββββββββ ββββββ ββββββ ββββ
β βββ ββββββββββββββ βββββββββββ ββββββ ββββββ βββ
β β
β REFERANDIUM - Policy Prescription Markets β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Don't predict the future. Prescribe it.
π Live App β’ π Documentation β’ π¦ Twitter β’ π RFRM Token
Referandium is NOT a prediction market. We don't ask you to gamble on outcomes.
Instead, Referandium is a Policy Prescription Market where communities signal what SHOULD happen, not what will happen. By depositing SOL into markets, users prescribe future outcomes while earning yield on their principal.
Key Differentiator:
- β Prediction Markets: Bet on outcomes, lose if wrong
- β Prescription Markets: Signal demand, principal always returned + yield share
Your SOL is locked in escrow, earns yield, and is returned 100% when the market closesβplus your share of the yield earned.
Signal YES or NO on future outcomes with SOL. Markets generate yield while your SOL is locked. Get your principal back + 45% of total yield.
Rent market manager NFTs by bidding RFRM tokens. Winners manage markets, promote them, and earn 30% of yield in RFRM.
SOL locked in escrow earns yield automatically. When markets close, yield is distributed:
- 45% to signal providers (you!)
- 30% to Gookie managers (RFRM)
- 20% to platform
- 5% buyback & burn RFRM
Three Solana smart contracts handle all transactions:
- Market escrow for signals
- Gookie auctions for NFTs
- Learning Hub subscriptions
Lock $25/month worth of RFRM to access premium courses, trading strategies, and market analysis. Unlock anytime.
Full support for English πΊπΈ and Turkish πΉπ·. Beautiful dark/light theme with responsive design.
All contracts live on Solana Devnet:
| Contract | Program ID | Network |
|---|---|---|
| Market Escrow | Aby8pc1zLWbKUPgPzgh4ntbkTsbPaZWb6FyuxSwtkR8e |
Devnet |
| Gookie Auction | 3VkzfA6GU6VhMdEnYRJywLLEQ454B9gmQoNh4ycVFFS5 |
Devnet |
| Learning Subscription | FUTVzQF86UckN9KhyuRajM4xRsYS62f24hTbJqGkZxed |
Devnet |
Built with: Anchor 0.32.1, Rust 1.91.1
Mint Address: 8248ZQSM717buZAkWFRbsLEcgetSArqbpbkX638Vpump
Utility:
- π« Gookie Bids: Lock RFRM to bid on market manager NFTs
- π Learning Hub: Lock for premium content access
- π³ Fee Payments: Pay platform fees with discounts (future)
- π₯ Buyback & Burn: 5% of yield used to buy & burn RFRM
Tokenomics:
- Total Supply: 1,000,000,000 RFRM
- Trade on: pump.fun
- Deflationary mechanism via buyback & burn
1οΈβ£ Connect Wallet
β
Connect Phantom, Solflare, or any Solana wallet
2οΈβ£ Signal Your Demand
β
Deposit SOL to signal YES or NO
Your principal is locked safely on-chain
3οΈβ£ Earn Yield
β
Market closes β Get your SOL back + 45% of yield earned
No risk to principal!
When markets close, yield is distributed automatically:
| Recipient | Share | Currency | Purpose |
|---|---|---|---|
| Signal Providers | 45% | SOL | Your share of the yield |
| Gookie Manager | 30% | RFRM | Market operator reward (via Jupiter swap) |
| Platform | 20% | SOL | Development & operations |
| Buyback & Burn | 5% | RFRM | Permanent supply reduction |
Example:
- 100 SOL locked generates 5 SOL yield
- You deposited 10 SOL β Receive 10 SOL + 0.225 SOL yield back
- Gookie earns 1.5 SOL worth of RFRM
- Platform takes 1 SOL
- 0.25 SOL buys & burns RFRM
| Category | Technology |
|---|---|
| Frontend | Next.js 14 (App Router), React 18, TypeScript |
| Styling | Tailwind CSS, next-themes |
| Blockchain | Solana, Anchor 0.32.1, @solana/wallet-adapter |
| Smart Contracts | Rust 1.91.1, Anchor Framework |
| Database | Supabase (PostgreSQL with Row-Level Security) |
| Token Swaps | Jupiter Aggregator |
| Hosting | Netlify (Frontend), Solana Devnet (Contracts) |
| Wallets | Phantom, Solflare, Backpack |
- Node.js v18+ (Download)
- Rust 1.91.1+ (Install)
- Anchor CLI 0.32.1+ (Install)
- Solana CLI (Install)
- Phantom Wallet (Download)
git clone https://github.com/ReferandiumProject/Referandium.git
cd Referandium-Projectcd frontend
npm installCreate .env.local in frontend/:
# Supabase
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
# Solana
NEXT_PUBLIC_SOLANA_RPC_URL=https://api.devnet.solana.comnpm run devcd backend
anchor build
anchor deploy --provider.cluster devnetReferandium-Project/
βββ frontend/
β βββ app/
β β βββ components/ # UI components
β β βββ context/ # React contexts (Language, User, Theme)
β β βββ utils/ # Contract integrations & helpers
β β βββ market/[id]/ # Market detail pages
β β βββ gookies/[id]/ # Gookie auction pages
β β βββ learning/ # Learning Hub
β β βββ admin/ # Admin dashboard
β βββ pages/docs/ # MDX documentation (Nextra)
β βββ public/ # Static assets
βββ backend/
β βββ programs/
β β βββ referandium/ # Main program (legacy)
β β βββ gookie/ # Gookie auction contract
β β βββ market_escrow/ # Market escrow contract
β β βββ subscription/ # Learning subscription contract
β βββ target/idl/ # Generated IDLs
βββ database/
β βββ schema/ # Supabase migrations
βββ README.md
Comprehensive documentation available at referandium.com/docs:
- Introduction - What is Referandium?
- Tokenomics - Fee structure & yield distribution
- Gookies - NFT auction system
- RFRM Token - Token utility & buyback
- Learning Hub - Premium content access
- Architecture - Technical deep dive
- π Live App: referandium.com
- π Documentation: referandium.com/docs
- π¦ Twitter: @ReferandiumIO
- π¬ Discord: Join Community
- π RFRM Token: pump.fun
- π Chart: DexScreener
Contributions are welcome! We're building the future of decentralized policy markets.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Areas for contribution:
- Frontend UX improvements
- Smart contract optimizations
- Documentation updates
- Bug fixes & testing
- New market categories
This project is licensed under the MIT License. See LICENSE for details.
Built on the shoulders of giants:
- Solana - High-performance blockchain
- Anchor - Solana smart contract framework
- Next.js - React framework for production
- Supabase - Open-source Firebase alternative
- Jupiter - Solana's liquidity aggregator