Skip to content
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

Add Nebulas (NAS) #314

Merged
merged 2 commits into from
Apr 4, 2019
Merged

Add Nebulas (NAS) #314

merged 2 commits into from
Apr 4, 2019

Conversation

hostgame
Copy link
Contributor

@hostgame hostgame commented Apr 2, 2019

Add support for Nebulas Network

Official website: https://nebulas.io
Slip0044 Index: 2718
Chain ID: 2718

@iancoleman
Copy link
Owner

Please add a test, eg https://github.com/iancoleman/bip39/blob/master/tests/spec/tests.js#L503-L509

How do you suggest I audit the new file nebulas.js which is over 40K lines long and contains minified js. Genuine question.

@hostgame
Copy link
Contributor Author

hostgame commented Apr 3, 2019

@iancoleman test spec added

Yeah. Reviewing minified code is impossible. I replaced nebulas.js with just part of it which is responsible for address generation, but it still big. You can audit uncompiled version. I was using this gulp recipe to build nebulas-account.js.

Nebulas is not a bitcoin fork so it need to use separate library to create addresses as well as ethereumjs-util.js or bchaddrjs-0.2.1.js.

@iancoleman
Copy link
Owner

Thanks for this, looks good.

@iancoleman iancoleman merged commit 961df0a into iancoleman:master Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants