Frontend application for the CommitLabs protocol, built with Next.js and TypeScript.
This frontend provides a user interface for:
- Creating liquidity commitments
- Viewing and managing commitments
- Browsing the commitment marketplace
- Viewing attestation history and health metrics
- Node.js 18+
- npm or yarn
- Install dependencies:
npm install- Copy environment variables:
cp .env.example .env-
Update
.envwith your contract addresses and network configuration -
Run the development server:
npm run dev- Open http://localhost:3000 in your browser
src/
├── app/ # Next.js app router pages
│ ├── page.tsx # Home page
│ ├── create/ # Create commitment page
│ ├── commitments/ # My commitments page
│ └── marketplace/ # Marketplace page
├── components/ # Reusable components
│ ├── CommitmentForm.tsx
│ ├── NFTDisplay.tsx
│ └── AttestationHistory.tsx
└── utils/ # Utility functions
└── soroban.ts # Soroban contract utilities
- ✅ Home page with overview
- ✅ Create commitment form (UI only)
- ✅ My commitments page (mock data)
- ✅ Marketplace page (mock data)
- ✅ Basic styling and layout
- Wallet integration (Freighter, etc.)
- Contract integration
- Real-time commitment data
- Attestation history visualization
- NFT display and metadata
- Transaction handling
- Error handling
- Loading states
- Responsive design improvements
- Integrate Stellar wallet (Freighter)
- Generate TypeScript bindings from contracts
- Implement contract interactions
- Add real-time data fetching
- Implement transaction flows
- Add error handling and loading states
- Improve UI/UX
MIT