-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom provider not set with pairfactory #22
Comments
Same issue here
|
Ahh ok will check this out sorry for any issues will fix soon |
Hey guys the ethereum provider only accepts a EIP-1193 provider as per https://eips.ethereum.org/EIPS/eip-1193 exactly what metamask provider is this does not accept a web3 instance or ethers instance. This is something we may add later but for now we do not support a custom ethers provider or web3 instance just a custom EIP-1193 provider. Thanks |
This is not correct it should work with an ethers instance or web3 instance.. will reopen and look at both errors |
Following the docs I am trying to pass my own chainstack web3 provider to the UniswapPair
const provider = new Web3.providers.HttpProvider(providerUrl);
const uniswapPair = new UniswapPair({,
ethereumProvider : provider,
........
When I log I still get some infura provider shown in the object and not my custom provider.
The text was updated successfully, but these errors were encountered: