second-state / wasmedge-quickjs

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

How to import a third-party nodejs library #115

Open hnngm opened 9 months ago

hnngm commented 9 months 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 8 months ago

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