-
Notifications
You must be signed in to change notification settings - Fork 3
Add to the documentation that it's currently support on Node <=10 #48
Comments
Updated the README: |
I have noticed these issues using node v12 and I think the fix here should be something that works with that version. Node.js v10 will go into maintenance mode on April 2020. There seems to be a native JavaScript implementation but they say it's much slower. Not sure if there are other options to get rid of this dependency |
Thanks @beeman I'll make sure and stay on top of this change as we'll need to make sure it's taken care of. Are you saying that there is not an updated version of ed25519? |
@chaseeb that's correct. The last version of that package is from 2015 and it seems like it's abandoned. If you check this warning here you see a fallback is used, but it's recommended against for production use: Maybe this can be used on Node 12 and up: https://github.com/spacemeshos/ed25519-WASM |
Just chiming in here -- looked at the stellar commits, found this gem: |
Nice fine, Tommy! Thanks for looking into this =) |
No problem -- glad to help :) Can probably close my PR once that change has been implemented |
Nice one @tommytcchan, seems like a great fix 💯 |
The latest version of NodeJS (12.x.x) doesn't support some of the functions used by the library. In particular:
ed25519 is the culprit, it's an encryption library but it's pretty outdated and uses removed APIs in Node version 12.
I will create a PR to update the README to add a note :)
The text was updated successfully, but these errors were encountered: