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

How to import a third-party nodejs library #115

Open
hnngm opened this issue Nov 20, 2023 · 1 comment
Open

How to import a third-party nodejs library #115

hnngm opened this issue Nov 20, 2023 · 1 comment

Comments

@hnngm
Copy link

hnngm commented Nov 20, 2023

I imported the ethers library. I need to use the ethers library in my js code to access the smart contract of the blockchain. How should I do it?

@L-jasmine
Copy link
Collaborator

you can try using the import command with a specific path to use it. Alternatively, place it in the modules folder.

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