Sort:  

See https://github.com/mahdiyari/hive-tx-js
I added an example there

Block explorers can easily display the public key used for signing the transaction. hivehub.dev might be interested in adding that feature. @asgarth

CC @edicted @brianoflondon

I thought about this a few times in the past. Thanks for sharing the code, will try to include it in an upcoming release 👍

I'd advise to implement it in such a way that sig_digest of a transaction is taken from server (since a node already has packed version of transaction - this way you don't need to deal with differences between legacy and hf26 version of binary serialization), but the extraction of public key from signature happens on client side, preferably on demand only (that part of the process carries almost all the cost, if you do it on the server you just invite DoS attack).

Loading...