Replies: 2 comments 1 reply
-
Reading the ethers 5.7 documentation, I am now using the code below. I think I am really close. I have a wallet with a private key and to test it out I am trying to place an offer, but I am getting an error Any suggestions would be appreciated:
|
Beta Was this translation helpful? Give feedback.
-
Thank you for the response. I was still getting the same error, so that prompted me to look at other things, and I tried using Alchemy instead of Infura and that worked. So there must be something wrong with my Infura API config. So just to confirm, your suggestion works:
But the simpler one also works:
Thanks again! |
Beta Was this translation helpful? Give feedback.
-
I have some OpenSea SDK code working to fetch data using the default infura provider, but now I would like to add a provider that I can use to sign transactions, but I can't figure it out based on Googling. Here is what I have tried:
throw new Error("Either a provider or custom signer with provider must be provided");
Could anyone please provide any additional hints on how to configure a RPC provider based on my mnemonic (or private keys)?
Beta Was this translation helpful? Give feedback.
All reactions