Welcome toScaffold-ETH 2

Connected Address:

How to Use

  1. Connect your wallet using the button in the top right corner.
  2. Approve your tokens for the SimpleSwap contract using the Approve Token form.
  3. Check the current price between TokenA and TokenB.
  4. View the liquidity pool status and contract addresses below.
  5. Swap between TokenA and TokenB using the Swap Tokens form.

Remember to approve the token you want to swap before making a swap.

Contract Addresses (Sepolia)

  • TokenA: 0xa00dC451faB5B80145d636EeE6A9b794aA81D48C
  • TokenB: 0x99Cd59d18C1664Ae32baA1144E275Eee34514115
  • SimpleSwap: 0x7659B6f3B1fFc79a26728e43fE8Dd9613e35Bc18

Your Token Balances

TokenA (wei): -
TokenB (wei): -

Approve Token

Note: Enter the amount in wei (the smallest unit, usually 18 decimals for ERC20).

TokenA/TokenB Price

Loading price...

Liquidity Pool Status

SimpleSwap Contract: 0x7659B6f3B1fFc79a26728e43fE8Dd9613e35Bc18
TokenA: 0xa00dC451faB5B80145d636EeE6A9b794aA81D48C
TokenB: 0x99Cd59d18C1664Ae32baA1144E275Eee34514115
Loading pool info...

Swap Tokens

Intercambia TokenA por TokenB o viceversa. Recuerda aprobar el token antes de hacer swap.

Note: Enter the amount in wei (the smallest unit, usually 18 decimals for ERC20).
Enter a valid amount greater than 0.

Get started by editing packages/nextjs/app/page.tsx

Edit your smart contract YourContract.sol in packages/hardhat/contracts

Tinker with your smart contract using the Debug Contracts tab.

Explore your local transactions with the Block Explorer tab.