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

Requiring @celo/abis in Node env doesn't work #10796

Closed
therealharpaljadeja opened this issue Nov 28, 2023 · 1 comment
Closed

Requiring @celo/abis in Node env doesn't work #10796

therealharpaljadeja opened this issue Nov 28, 2023 · 1 comment

Comments

@therealharpaljadeja
Copy link

Expected Behavior

Should be able to do the following

const { BlockchainParameters } = require("@celo/abis/types/ethers");

then use BlockchainParameters's abi

const blockchainParameters = new ethers.Contract(
  "0x6E10a8864C65434A721d82e424d727326F9d5Bfa", 
  BlockchainParameters.abi, 
  provider
);

Current Behavior

Module not found

@aaronmgdr
Copy link
Member

handled with #10290

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

2 participants