No contracts found!

Please connect wallet first

Nexus DEX Debug Contracts

Debug and interact with your deployed Nexus DEX smart contracts.

📋 Available Contracts

DEXFactory

Creates and manages trading pairs

createPair(address,address)

DEXRouter

Handles swaps and liquidity operations

swapExactTokensForTokens(uint,address[],address)

DEXPair

Individual trading pair contracts

getReserves() - mint(address) - burn(address)

WETH

Wrapped Nexus token for ETH trading

deposit() - withdraw(uint)

TestToken (NEXA/NEXB)

ERC20 test tokens for trading

transfer(address,uint) - approve(address,uint)

🔧 Network Configuration

Network: Nexus Testnet3

Chain ID: 3945

RPC URL: https://testnet.rpc.nexus.xyz

Explorer: https://nexus.testnet.blockscout.com/

Gas Token: NEX

📝 How to Use

  1. Deploy contracts using: yarn deploy --network nexusTestnet
  2. Get test tokens from Nexus faucet
  3. Use the Swap page to trade tokens
  4. Add liquidity to earn trading fees
  5. Debug contract interactions here

Check packages/nextjs/app/debug/page.tsx to modify this debug page.