-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dependency on keccak NPM module. #356
Comments
I don't think this is correct. It is a module providing both native and JS-only bindings. It would be nice to consider fixing |
@axic Yeah, there is a long thread in The problem is node-gyp, it is notorious for causing problems on build infrastructure, Windows, and elsewhere. It isn't that keccak is doing anything wrong specifically other than they depend on node-gyp, which causes no end of trouble. In the case of this library ( |
The
keccak
NPM module is a native module which requiresnode-gyp
to properly install. This means the developer needs a fully Python dev-env setup, which can be problematic with Python 2.7 vs 3.0. Please use a native JS sha3 library rather than keccak so users don't need to install Python just to usesolc
without error.A good alternative library for keccak hashing is https://github.com/emn178/js-sha3. It has no dependencies and works in node and browser.
The text was updated successfully, but these errors were encountered: