Skip to content

plagtech/mangoswap

Repository files navigation

🥭 MangoSwap

Sweet Swaps on Base 🔵

Built on Base Live License: MIT

A next-generation decentralized exchange built on Base, offering seamless token swaps with advanced trading features and a beautiful user experience.

🌐 Try MangoSwap →


MangoSwap - Sweet Swaps on Base

Trade tokens on Base in seconds with our intuitive interface


✨ Features

🚀 Instant Swaps

Trade any token on Base in seconds with minimal slippage and best price execution.

🎯 Limit Orders

Set your target price and let orders execute automatically when the market hits your price—no need to watch charts all day.

⏰ Scheduled Swaps

Automate recurring trades on a daily, weekly, or monthly schedule. Perfect for DCA strategies.

⛽ Gas-Free Transactions

Powered by Coinbase Paymaster—trade without worrying about gas fees.

📦 Transaction Batching

Built with EIP-5792 support for efficient batch transactions and improved UX.


📸 Screenshots

Swap Interface Limit Orders Scheduled Trades

Clean, intuitive interface for seamless trading on Base


🏗️ Built With

  • Frontend: React, TypeScript, TailwindCSS
  • Blockchain: Solidity, Base (Ethereum L2)
  • Web3: Wagmi, Viem, RainbowKit
  • Smart Contracts: EIP-5792 (Batch Transactions)
  • Sponsorship: Coinbase Paymaster for gas-free txs

📝 Smart Contracts

Base Mainnet:

All contracts are verified on Basescan.


🎯 Base Build Program

MangoSwap is part of the Base Build cohort, building the future of DeFi on Base alongside other innovative projects.


🚦 Getting Started

Prerequisites

node >= 18.0.0
npm or yarn

Installation

# Clone the repository
git clone https://github.com/plagtech/mangoswap.git

# Navigate to project directory
cd mangoswap

# Install dependencies
npm install

# Start development server
npm run dev

Environment Variables

Create a .env.local file:

NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=your_project_id
NEXT_PUBLIC_BASE_RPC_URL=https://mainnet.base.org

🤝 Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


🔗 Links


📬 Contact

Questions or feedback? Reach out on Twitter or Farcaster.


Built with ❤️ on Base

About

Decentralized exchange on Base with instant swaps, limit orders, and gas-free transactions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages