ecency / hivesigner-ui

Hivesigner UI, website component
MIT License
4 stars 3 forks source link

requestSignBuffer #84

Open reichert-splinterlands opened 1 year ago

reichert-splinterlands commented 1 year ago

It would be great if hivesigner would also have an endpoint similar to Keychain's requestSignBuffer.

It would ask for a private-key, role and a message to be signed and would return a signature.

PrivateKey.from(privatePostingKey).sign(Buffer.from(sha256(message))).toString();