We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It looks like there's no way to save/restore a Keypair. I guess this is nowhere even near production ready right?
The text was updated successfully, but these errors were encountered:
it's pretty simple to implement your own restoration function. here's an example of how you can do so:
// src/api.rs impl Keypair { // -- snip -- pub fn restore(pub_bytes: Vec<u8>, sec_bytes: Vec<u8>) -> Self { Self { public: pub_bytes.try_into().unwrap(), secret: sec_bytes.try_into().unwrap(), } } }
though, it would be really useful if this was included by default (and honestly i'm confused as to why it's not).
Sorry, something went wrong.
Refactor implementation + docs (Argyle-Software#11)
11305d1
Add restore (Argyle-Software#11)
b710680
No branches or pull requests
It looks like there's no way to save/restore a Keypair. I guess this is nowhere even near production ready right?
The text was updated successfully, but these errors were encountered: