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

IPC socket not working with IPC Provider in web3 and ethers.js #7704

Closed
anhnhgutech opened this issue Nov 4, 2024 · 1 comment
Closed

IPC socket not working with IPC Provider in web3 and ethers.js #7704

anhnhgutech opened this issue Nov 4, 2024 · 1 comment

Comments

@anhnhgutech
Copy link
Contributor

Description
IPC socket not working with IPC Provider in web3 and ethers.js
I tested IPC with IPC web3js, but that seems not to work.

const { Web3 } = require("web3");
const { IpcProvider } = require("web3-providers-ipc");

const web3 = new Web3(new IpcProvider("/data/ethereum/nethermind.ipc"));

web3.eth.getBlockNumber().then((data) => {
  console.log("data", data); // no response data
});
@anhnhgutech
Copy link
Contributor Author

Fixed in #7714

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