UniswapError: chainId can not be found on the providerSee original GitHub issue
node version v14.18.0
npm version v6.14.15
npm run-script dev results in
UniswapError: chainId can not be found on the provider
at Sniper.<anonymous> (pool-sniper/src/sniper.ts:88:43)
- Created 2 years ago
- Comments:13 (7 by maintainers)
Top GitHub Comments
Hey I’m the author of simple-uniswap-sdk I’m happy to support polygon natively so you don’t need this patch. Will take a look this week (tomorrow probably) for you guys, this could remove any need to do the patch script!
Also the sdk is about to support any custom network with config so that can cover any other custom networks in future.
Super open to support any networks in the sdk so please raise any issues if you want any others supported!
Ah, damn sorry. Thought that had resolved the issue. Reopening, will diagnose shortly.