LaunchPaw is a decentralized platform built on EduChain that enables users to create, launch, and trade tokens with an automated bonding curve mechanism.
-
💫 Bonding Curve Mechanism
- Dynamic pricing based on supply and demand
- Fair token distribution
- Automated price discovery
-
💧 Liquidity Management
- Automated liquidity pool creation
- Built-in reward system for liquidity providers
- Efficient token swapping
-
🔐 Security Features
- Verified smart contracts
- Automated security checks
- Transparent token mechanics
-
📊 User Dashboard
- Portfolio tracking
- Transaction history
- Performance analytics
-
Frontend
- React + TypeScript
- Tailwind CSS
- Framer Motion
- wagmi/viem
- ethers.js
-
Smart Contracts
- Solidity
- Hardhat
- OpenZeppelin
node.js >= 16.0.0
npm or yarn
- Clone the repository:
git clone https://github.com/arhansuba/launchpaw.git
cd launchpaw
- Install dependencies:
# Install frontend dependencies
cd src
npm install
# Install contract dependencies
cd contracts
npm install
- Set up environment variables:
cp .env.example .env
- Start local development:
# Start local hardhat node
npx hardhat node
# Deploy contracts
npx hardhat run scripts/deploy.js --network localhost
# Start frontend
npm run dev
LaunchPaw/
├── src/ # Frontend application
│ ├── components/ # Reusable components
│ ├── pages/ # Page components
│ ├── hooks/ # Custom React hooks
│ ├── config/ # Configuration files
│ └── utils/ # Utility functions
│
├── contracts/ # Smart contracts
│ ├── contracts/ # Contract source files
│ ├── scripts/ # Deployment scripts
│ └── test/ # Contract tests
- Configure your network in
src/config/chains.ts
- Update contract addresses in
src/config/contracts.ts
- Configure hardhat settings in
contracts/hardhat.config.js
# Run contract tests
cd contracts
npx hardhat test
# Run frontend tests
cd src
npm test
- Deploy contracts:
cd contracts
npx hardhat run scripts/deploy.js --network educhain
- Build frontend:
cd src
npm run build
Key contracts:
TokenFactory.sol
: Main factory for token creationNativeLiquidityPool.sol
: Handles liquidity and swapsBondingCurve.sol
: Implements bonding curve mechanics
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE.md file for details.
- Built for the EduChain Hackathon
- Inspired by innovative DeFi platforms
- Uses OpenZeppelin contracts for security
For support and questions, please open an issue in the GitHub repository or contact the team at [your contact info].
- Enhanced analytics dashboard
- Additional token features
- Advanced trading tools
- Mobile app development