Welcome toScaffold-ETH 2
Connected Address:
0x1234...56789
0x1234...56789
How to Use
- Connect your wallet using the button in the top right corner.
- Approve your tokens for the SimpleSwap contract using the Approve Token form.
- Check the current price between TokenA and TokenB.
- View the liquidity pool status and contract addresses below.
- 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
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.