stacks-archive / stacks-transactions-js

The JavaScript library for generating Stacks 2.0 transactions
19 stars 17 forks source link

Question: Compressed Key vs Uncompressed Key #69

Open friedger opened 4 years ago

friedger commented 4 years ago

In Blockstack.js the the compressed key is returned as the public key while in stacks-transactions-js the uncompressed key is returned.

This results in two different addresses derived from the same private key using (semantically in my mind) the same derivation path:

Should there be a method to derive the compressed public key from the uncompressed private key?