-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sign_raw() #50
Add sign_raw() #50
Conversation
efc0aa9
to
0fa24ce
Compare
Relies on #49 |
The diff looks good to me. Do we have any test on the new |
Squashed and pushed on master. Can you rebase on it ? |
0fa24ce
to
07bafca
Compare
As discussed, |
After suggestion by @hoh I changed the signature of As this involves a bit more invasive refactoring, I decided that it would only make sense to add more unit tests, especially to the non-existent Cosmos and Substrate (Polkadot) tests. |
…MNEMONIC_FILE to settings
d273303
to
bd6a170
Compare
80e99be
to
ec513ee
Compare
BaseAccount.sign_raw()
accepts raw bytes and outputs a signature as a string in the preferred encoding.This allows signing of arbitrary data besides Aleph messages, making it a useful tool in dApp development.