Thanks for your interest in contributing!
- Fork the repo
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/covenant.git - Install dependencies:
cd covenant && yarn install && cd app && yarn install - Copy env:
cp app/.env.example app/.envand fill in your credentials - Push DB schema:
cd app && npx prisma db push - Run dev server:
cd app && yarn dev
- On-chain program:
programs/covenant/(Rust/Anchor) - ZK circuit:
circuits/word_count/(Rust/SP1) - Frontend:
app/(Next.js 14/TypeScript) - SDK:
sdk/(TypeScript) - Tests:
anchor test(10 passing)
- Create a feature branch:
git checkout -b feat/my-feature - Make changes, ensure
npx next buildpasses - Commit with conventional commits:
feat:,fix:,docs: - Push and open a PR against
main
- TypeScript strict mode
- Prisma for DB access:
import { prisma } from "@/lib/prisma" - Dark glass-morphism UI theme
- All API routes handle errors with try/catch
- Bug reports: Use the Bug Report template
- Feature requests: Use the Feature Request template