The Claim Tool is a web application for grant recipients to claim and delegate awarded tokens. It integrates with Hedgey API for token claims and Agora API for delegate information, providing a dashboard for grant metrics and delegation statuses.
-
Clone and install:
git clone https://github.com/gitcoinco/claim-tool.git cd claim-tool pnpm install -
Run development server:
pnpm dev -
Build for production:
pnpm build pnpm start
-
Add a new component:
npx shadcn@latest add [component-name]Example:
npx shadcn@latest add button -
Use the component in your code:
import { Button } from "@/components/ui/button"; export default function MyComponent() { return <Button>Click me</Button>; }
- Next.js
- React
- Rainbow Kit
- wagmi
- viem
- Tailwind CSS
- shadcn/ui
pnpm dev: Run development serverpnpm build: Build for productionpnpm start: Start production serverpnpm lint: Run Biome linterpnpm format: Run Biome formatter
For more details, refer to the project documentation.