Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grantpad

Token launchpad on Base with bonding curve pricing and AMM graduation.

Overview

Grantpad lets anyone launch a token on Base with automatic bonding curve pricing. Tokens start on a bonding curve and graduate to a full AMM pool at $69K market cap.

Features:

  • Token Launch - Create a new ERC20 token with one transaction
  • Bonding Curve Trading - Buy/sell as price increases with demand
  • AMM Graduation - Automatic migration to liquidity pool at $69K MC
  • Multi-chain Wallets - Custodial wallets on Base, Ethereum, and Solana
  • Rewards System - Cashback on trades, referral commissions

Tech Stack

Layer Technology
Contracts Solidity, Foundry
Frontend Next.js 16, Tailwind CSS 4
Wallet Privy + wagmi v3 + viem
Database Prisma + SQLite
Chain Base (L2)

Project Structure

Grantpad/
├── contracts/          # Solidity smart contracts (Foundry)
│   ├── src/
│   │   ├── GrantpadFactory.sol
│   │   ├── BondingCurve.sol
│   │   ├── GrantpadPool.sol
│   │   ├── GrantpadRouter.sol
│   │   └── GrantpadToken.sol
│   └── test/
└── frontend/           # Next.js web app
    ├── src/
    │   ├── app/            # Pages (App Router)
    │   ├── components/     # UI components
    │   ├── lib/            # Utilities, contracts, mock data
    │   └── prisma/         # Database schema
    └── prisma/

Getting Started

Prerequisites

  • Node.js 18+
  • pnpm
  • Foundry (for contracts)

Setup

# Clone
git clone https://github.com/yourname/grantpad.git
cd grantpad

# Frontend
cd frontend
pnpm install
cp .env.example .env.local  # fill in values
pnpm dev

# Contracts
cd contracts
forge install
forge test

Environment Variables

See AGENTS.md for full list.

Deployed Contracts

Network Address
Base Mainnet 0x67317D419e1A65582B5317048749eA9C9cE59735
Base Sepolia Deploy with DeployGrantpadTestnet.s.sol

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages