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?
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 ofsecp256k1
. I'd like to add ELA intobitcoinjs-extensions.js
, butbitcoinjs-3.3.2.js
uses curvesecp256k1
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