Decentralized Investment & Lending Protocol Governed by Community Consensus
RedKey DAO is a next-generation decentralized autonomous organization (DAO) built as a mini app on the Avalanche C-Chain. It empowers communities to collectively manage a treasury, vote on investment proposals, and participate in peer-to-peer lending β all through a sleek, terminal-inspired dark UI.
Built for the Avalanche ecosystem. Designed for transparency. Governed by its members.
A stunning, animated landing page introducing the DAO's vision and core value propositions with smooth Framer Motion animations and a cyberpunk-inspired aesthetic.
A command-center style dashboard providing real-time overview of:
- Treasury balance & metrics
- Active proposals and loan activity
- Live audit trail log with color-coded action types
- AVAX price tracking with live market data
- Latest Avalanche ecosystem news feed
Full transparency into DAO finances with live Avalanche C-Chain integration:
- π LIVE SHOWCASE: Onchain Contributions β Connect your wallet and send actual USDC, USDT, or AVAX directly to the RedKey DAO treasury smart contract on the Avalanche network.
- π LIVE SHOWCASE: Onchain Transaction Log β Real-time verification of on-chain treasury movements fetched directly from the blockchain via Alchemy API.
- Onchain Treasury Dashboard (
/dao/treasury/onchain) β A dedicated command center displaying individual AVAX, USDC, and USDT balances with live USD equivalents (AVAX price via CoinGecko). - Comprehensive fund overview: Total balance, allocated funds, and available funds.
- Contribution tracking per member and reserve ratio monitoring.
Community-driven investment governance:
- Create and submit investment proposals with risk assessment
- Configurable voting parameters (quorum, approval threshold, voting period)
- Real-time voting progress with weighted voting power
- Proposal lifecycle tracking (Draft β Submitted β Voting β Passed/Failed β Executing β Completed)
- Comment and discussion threads per proposal
Post-funding transparency and performance tracking:
- Track deployed capital and actual performance of funded projects
- Detailed metrics including ROI, stage, and ecosystem impact
- Verifiable links to project smart contracts and social spaces
A peer-to-peer liquidity market:
- Request loans with flexible tenors (3, 6, or 9 months)
- Flat interest rates tied to tenor (3% / 6% / 9%)
- 100% collateral requirement for borrower protection
- Community-funded lending β any member can fund a portion of a loan
- Full loan lifecycle management with credit tier system (Gold / Silver / Bronze / New)
Smart money tracking on the Avalanche network:
- Track whale and smart money wallet addresses
- View the latest 100 transactions per address via Alchemy API
- Analyze on-chain activity patterns
Comprehensive member directory and progression system:
- Public Profiles (
/dao/profile/[address]) β Searchable public member profiles displaying identity metrics, customizable bio, social links, and a visual Reputation Matrix. - Private Profiles (
/dao/profile) β Personal command center with inline editing allowing members to manage their DAO identity. - Partner Reputation Integration β Members can claim reputation badges based on their activity in other Avalanche ecosystem dApps (e.g., Blackhole protocol). Claimed badges directly calculate into an aggregated "Partner Reputation" score displayed on the profile matrix.
- Role-based access (Super Admin, Admin, Member, Observer).
- Voting power calculation (60% stake weight + 40% reputation weight).
- Credit tier tracking for P2P lending eligibility.
Community forum for open dialogue:
- Create discussion topics
- Threaded replies
- Member activity tracking
In-app documentation including the DAO manifesto and litepaper for onboarding new members.
| Layer | Technology |
|---|---|
| Framework | Next.js 15 (App Router, Turbopack) |
| Language | TypeScript |
| UI Library | React 19 |
| Styling | TailwindCSS 4 |
| Animations | Framer Motion |
| Icons | Lucide React |
| Charts | Recharts |
| UI Primitives | Radix UI (Dialog, Dropdown, Tabs, Tooltip, etc.) |
| Web3 SDK | Thirdweb v5 (Wallet connection, in-app wallets, contract interaction) |
| Blockchain | Avalanche C-Chain |
| Blockchain Data | Alchemy API (Transaction history) |
| Backend/DB | Firebase |
| Notifications | Sonner (Toast notifications) |
| Deployment | Vercel |
dao/
βββ components/
β βββ AvaxNewsSection.tsx # Avalanche ecosystem news feed
β βββ AvaxPriceCard.tsx # Live AVAX price widget
β βββ DaoFooter.tsx # App footer
β βββ DaoNavbar.tsx # Navigation bar with wallet connect
β βββ LoanCard.tsx # Loan request card component
β βββ LoanFundingPanel.tsx # P2P loan funding interface
β βββ MemberCard.tsx # Member profile card
β βββ ProposalCard.tsx # Proposal overview card
β βββ TreasuryCard.tsx # Treasury metric card
β βββ VotingPanel.tsx # Voting interface component
βββ dashboard/ # Dashboard page
βββ discussion/ # Community forum
βββ docs/ # DAO documentation
βββ litepaper/ # Litepaper page
βββ loans/ # P2P lending module
βββ members/ # Member directory
βββ news/ # News page
βββ pitch/ # Pitch deck
βββ portfolio/ # Post-funding portfolio tracking
βββ profile/ # User profile
βββ proposals/ # Investment proposals
βββ signal/ # Smart money tracker
βββ treasury/ # Treasury management
βββ config.ts # DAO configuration & constants
βββ types.ts # TypeScript type definitions
βββ layout.tsx # Root layout with ThirdwebProvider
βββ page.tsx # Landing page
βββ README.md
| Parameter | Value |
|---|---|
| Quorum | 30% |
| Approval Threshold | 60% |
| Voting Period | 7 days |
| Cooldown Period | 48 hours |
| Max Active Proposals | 5 |
| Treasury Reserve Ratio | 20% |
| Min Contribution | 10 AVAX |
| Stake Weight | 0.6 (60%) |
| Reputation Weight | 0.4 (40%) |
RedKey DAO supports multiple wallet connection methods:
- In-App Wallet β Sign in with Google, Apple, or X (Twitter)
- Core
- MetaMask
- Coinbase Wallet
- WalletConnect
- Rainbow
Powered by Thirdweb SDK v5 for seamless Web3 authentication.
- Node.js 18+
- npm or yarn
- Thirdweb Client ID
- Alchemy API Key
- Firebase project credentials
# Clone the repository
git clone https://github.com/your-username/redkey-dao.git
cd redkey-dao
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env.localNEXT_PUBLIC_THIRDWEB_CLIENT_ID=your_thirdweb_client_id
NEXT_PUBLIC_ALCHEMY_API_KEY=your_alchemy_api_key
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_idnpm run devThe app will be available at http://localhost:3000/dao.
npm run buildRedKey DAO features a terminal-inspired cyberpunk aesthetic with:
- Deep black background (
#060608) with red accent color palette - Monospace typography with uppercase tracking
- Sharp, non-rounded corners for a rigid, military-grade feel
- Subtle grid overlay and ambient glow effects
- Smooth micro-animations powered by Framer Motion
- Fully responsive design for mobile and desktop
| Tier | Min Score | Icon |
|---|---|---|
| π₯ Gold | 800 | Highest trust level |
| π₯ Silver | 600 | Established member |
| π₯ Bronze | 400 | Active participant |
| βͺ New | 0 | New member |
This project is open source and available under the MIT License.
- Live App: RedKey DAO
- Avalanche: avax.network
- Thirdweb: thirdweb.com
Built with β€οΈ by the RedKey DAO community on Avalanche