Skip to content

Olorunshogo/WebDex

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 

Repository files navigation

BunsSwap

Swap. Stake. Scale β€” on StarkNet.
The Next-Gen Decentralized Exchange (DEX) built natively on StarkNet.


Introduction

BunsSwap is a decentralized exchange (DEX) powered by StarkNet a Layer-2 ZK-Rollup solution for Ethereum scalability.
It enables users to swap tokens, provide liquidity, and earn rewards all with near-zero gas fees.

Our mission is simple:
To make decentralized trading fast, cheap, and accessible to everyone on StarkNet.


Key Features

  • Instant Swaps β€” Trade any ERC20 token instantly on StarkNet
  • Liquidity Pools β€” Provide liquidity and earn trading fees
  • Cairo Smart Contracts β€” Optimized for StarkNet performance
  • BNS Token β€” Powering governance and incentives
  • Secure & Scalable β€” ZK-rollup architecture ensures safety and speed

Problem

Traditional DEXs on Ethereum face:

  • High gas fees
  • Slow transactions
  • Scalability limits

StarkNet offers a Layer-2 solution β€” but lacks a native, efficient AMM (Automated Market Maker).
BunsSwap fills that gap.


Solution

BunsSwap leverages Cairo smart contracts to provide:

  • Low-cost swaps
  • Deep liquidity
  • Yield-generating pools
  • Seamless StarkNet wallet integration (ArgentX, Braavos)

Architecture

Frontend (React + StarkNet.js) ↓ Smart Contracts (Cairo) ↓ StarkNet Network (Layer-2) ↓ Ethereum Mainnet (Layer-1 Settlement)

Core Contracts

Contract Description
Factory.cairo Deploys and tracks trading pairs
Router.cairo Handles token swaps and routing
Pair.cairo Liquidity pool management
BNSS.cairo Governance and utility token

Security

  • Smart contract audits before mainnet release

  • Multi-sig governance for treasury

  • Bug bounty program for white-hat hackers

    Roadmap

Phase Timeline Milestone
Phase 1 Q4 2025 Smart Contract Development + Testnet Launch
Phase 2 Q1 2026 Mainnet Launch + Liquidity Mining
Phase 3 Q2 2026 BNSS Token Launch + Governance
Phase 4 Q3 2026 Cross-chain Bridge + Mobile App

Getting Started

Prerequisites

  • Node.js v18+
  • StarkNet wallet (ArgentX or Braavos)
  • Cairo compiler

Installation

bash https://github.com/gregemax/WebDex cd bunswap npm install

Run Locally

npm run dev

Deploy Smart Contracts

bash starknet-compile contracts/*.cairo starknet deploy --network testnet `

Contributing

We welcome contributions!
Fork the repo, make your improvements, and submit a pull request.
Check out our CONTRIBUTING.md for guidelines.


License

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


πŸ’« Join the StarkNet DeFi Revolution

Swap smarter, faster, and cheaper β€” with BunsSwap.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 90.8%
  • Cairo 6.7%
  • JavaScript 1.6%
  • Other 0.9%