How can we install this library that it will use a native compilation for secp256k1 instead of the slow browser version?
I found the root cause of this warning at the index.js of eccrypto:
try {
var secp256k1 = require("secp256k1");
var ecdh = require("./build/Release/ecdh");
} catch (e) {
if (process.env.ECCRYPTO_NO_FALLBACK) {
throw e;
} else {
console.info('secp256k1 unavailable, reverting to browser version');
return (module.exports = require("./browser"));
}
}
Obviously, one should do something that will build some stuff at a subfolder called "./build/Release". I could not find any further explanation.
How can we achieve that? What needs to be done?
How can we install this library that it will use a native compilation for secp256k1 instead of the slow browser version?
I found the root cause of this warning at the
index.jsof eccrypto:Obviously, one should do something that will build some stuff at a subfolder called "./build/Release". I could not find any further explanation.
How can we achieve that? What needs to be done?