-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
cow-sdk/src/bridging/README.md
Lines 17 to 24 in d1cd2b7
| 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
Labels
No labels