Closed learntheropes closed 1 year ago
This sounds like a Nuxt issue.
I just npm installed the latest version and the file is there:
$ ls node_modules/tiny-secp256k1/lib/
cjs rand.js wasm_loader.browser.d.ts
index.d.ts secp256k1.wasm wasm_loader.browser.js
index.js validate.d.ts wasm_loader.d.ts
rand.browser.d.ts validate_error.d.ts wasm_loader.js
rand.browser.js validate_error.js wasm_path.d.ts
rand.d.ts validate.js wasm_path.js
Is this the way to go?
I have looked over bitcoinerlab's library and it seems fine. If that works, it should be fine.
Hello, did you solve the problem?
@Demiduska I'm using https://github.com/bitcoinerlab/secp256k1 package
Unfortunately, I have internal libraries, which use tiny-secp256k1. Did you use Vercel to deploy the app or other hosting?
Digital Ocean. On Vercel I always face the problem of slow app when I have big server functions due to cold start, I think.
Thank you, I rewrote the code for https://github.com/bitcoinerlab/secp256k1 package and it starts working.
Which one is the best
I'm using tiny-secp256k1 and bitcoinjs-lib with Nuxt 3 (Nitro server engine): https://nuxt.com/docs/guide/concepts/server-engine
With
npm run dev
works correctly, but withnpm run build && npm run start
I get:What could be the issue?
As of now, I resolved using https://github.com/bitcoinerlab/secp256k1
Is this the way to go?