- Go >= 1.20
- Node >= 16
- npm
-
Build wasm & copy wasm_exec.js:
npm run build:wasmor full build:npm run build -
Test in Node: npm run test:node
-
ensure dist contains
index.js,index.d.ts, andwasm/with wasm files. -
npm publish
npm install decred-wasm@latest