Skip to content

Bridge SDK: Sample Tokens Aren't Contracts #341

@bh2smith

Description

@bh2smith

sellTokenChainId: SupportedChainId.ARBITRUM_ONE,
sellTokenAddress: '0xfff9976782d46cc05630d1f6ebab18b2324d6b14',
sellTokenDecimals: 18,
// Buy token (and target chain)
buyTokenChainId: SupportedChainId.BASE,
buyTokenAddress: '0x0625afb445c3b6b7b929342a04a22599fd5dbb59',
buyTokenDecimals: 18,

The tokens provided in the example aren't tokens.

SellToken: https://arbiscan.io/address/0xfff9976782d46cc05630d1f6ebab18b2324d6b14

BuyToken: https://basescan.org/address/0x0625afb445c3b6b7b929342a04a22599fd5dbb59

So the script will always result in:

BridgeProviderQuoteError: No path found (not intermediate token for bridging)

unless that was intended.

Consider using WETH for both.

Arbitrum: https://arbiscan.io/token/0x82af49447d8a07e3bd95bd0d56f35241523fbab1

Base: https://basescan.org/token/0x4200000000000000000000000000000000000006

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