Skip to content

Base Network #4

Description

@Razorholt

Does the swap example work with Base Mainnet? I tried so many times already. I'm trying to swap WETH for my token that has been deployed on Base using UniswapRouterV2. So I used this router address '0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24'.
However, the transaction fails everytime.

Then, when I change the router address to '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D' (uniswap Mainnet v2) I get the hash but I think I'm just sending ETH to this address, not swapping.

Should I tried using the base Mainnet from uniswap V3, although the pool is on V2?

Thnaks for your help!
-Dan

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions