second-state / wasmedge-quickjs

A high-performance, secure, extensible, and OCI-complaint JavaScript runtime for WasmEdge.
Apache License 2.0
497 stars 61 forks source link

How to import a third-party nodejs library #115

Open hnngm opened 1 year ago

hnngm commented 1 year ago

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 commented 11 months ago

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