Comments (2)
I tried manually replacing require('env')
with require('crypto')
, which I assume is what it wants.
let imports = {};
imports['__wbindgen_placeholder__'] = module.exports;
imports['env'] = require('crypto');
It does not work, but it might offer an additional clue:
$ node ./build/index.js
/src/rust-packages/ddx-wasm/examples/node_modules/ddx-wasm/ddx_wasm.js:173
const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
^
LinkError: WebAssembly.Instance(): Import #1 module="env" function="GFp_aes_nohw_encrypt" error: function import requires a callable
from libsecp256k1.
@fredfortier did you end up solving this issue? I'm running into something very similar but can't seem to figure out why it's including the env
import. Thanks
from libsecp256k1.
Related Issues (20)
- Ensure proper memory clean-up for secrets
- Unable to build - Compile error HOT 10
- How to perform add/mult operation? HOT 1
- Bincode Serialization Broken For PublicKey
- rustc error due to arrayref dependency HOT 1
- remove alloc to support no_std targets without global allocators
- Maintaining a CHANGLOG file
- needless panic during deserialization? HOT 1
- Consider renaming the crate
- Lack of documentation for SharedSecret generation. HOT 1
- The Compilation In Mac M1 is Failing because some missing config after updating rustler to 0.24 0r 0.25
- Please push release tags HOT 1
- About link is 404 HOT 2
- Un-released changes
- Support zeroization / clearing of secrets from memory
- It can't build to wasm HOT 3
- What is the meaning of "group element not on the curve" HOT 1
- Update Digest dependency
- Please support Scalar comparision
- Make serde optional
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libsecp256k1.