Skip to content
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

providers.WebSocketProvider is not a constructor #1

Open
LucasDcarprio opened this issue Aug 26, 2022 · 2 comments
Open

providers.WebSocketProvider is not a constructor #1

LucasDcarprio opened this issue Aug 26, 2022 · 2 comments

Comments

@LucasDcarprio
Copy link

const {Providers } instead [P cant use lowercase maybe ] , its work ,
but ' WebSocketProvider ' undefined ,
maybe bucause the opensea-js changed, i think

@LucasDcarprio
Copy link
Author

DEPRECATED: Please use providerUtils.standardizeOrThrow() instead
DEPRECATED: Please use providerUtils.standardizeOrThrow() instead
c:\Users\Administrator\Desktop\opensea\openseaSeller.js:38
const provider = new Providers.websocketProvider(PRIVATE_WSS.ETH);
^

TypeError: Cannot read properties of undefined (reading 'websocketProvider')
at Object. (c:\Users\Administrator\Desktop\opensea\openseaSeller.js:38:34)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47

@LucasDcarprio
Copy link
Author

it work with Ethers floder covered a new one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant