iancoleman / bip39

A web tool for converting BIP39 mnemonic codes
https://iancoleman.io/bip39/
MIT License
3.45k stars 1.43k forks source link

Add Elastos(ELA) #363

Closed johnnynanjiang closed 4 years ago

johnnynanjiang commented 4 years ago

Hi @iancoleman

I'd need your advice here, hope you could help.

Elastos(ELA at elastos.org) address derivation is pretty much the same as BTC, except that the curve is secp256r1 instead of secp256k1. I'd like to add ELA into bitcoinjs-extensions.js, but bitcoinjs-3.3.2.js uses curve secp256k1 by default.

Is there a clean way to utilise most of bitcoinjs-3.3.2.js, in the meantime use a different curve?

Thanks and regards, Johnny