-
Notifications
You must be signed in to change notification settings - Fork 99
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
Technical question: how to sign a Tx when I only have the XRP 32-byte private key #801
Comments
May I ask how you generated the public-private keys? If you used the xrpl.js (or) xrpl-py client library, then this task becomes easier. The Line 43 in 9ceb380
Furthermore, you can specify seed, master_key_pair options in the constructor. Please read the documentation of |
Thanks for your comments
It is really completely irrelevant. In that particular case, it was derived from a bip39 seed phrase that has been since lost. So basically we have a 32-byte XRP private key, that's all we have.
So I would have calculate the XRP public key (not an issue, as it can be calculated from the XRP private key) and modify the code. to create a "wallet" from the private key. It would be really nice to have an option to create an XRP wallet from a 32-byte private key (without having to modify the code). So maybe this could be seen as a feature request. |
How are you generating the public-key from the private key? Can you point me to the documentation which details this process? This issue hasn't been faced by many users. Unfortunately, we cannot prioritize it in the near future. However, if you submit a PR, we can review it. |
I recommend looking at the raw signing functions at https://xrpl-py.readthedocs.io/en/stable/source/xrpl.core.keypairs.html |
you can just ask CharGPT: https://chatgpt.com/share/67ad8c18-a398-8013-a494-f4242b56ba79 |
I'm not able to access that link. I get this error message from ChatGPT: |
this link should work: https://chatgpt.com/share/67ad8c18-a398-8013-a494-f4242b56ba79 |
@loupiote Let me know if you have any further questions regarding this issue |
I just have the 32-byte value that is the private key for an XRP address (that has a balance).
Is there a way to create a wallet object that will allow me to do a "send" transaction from the XRP address corresponding to this private key?
I looked at the wallet API and could not find an obvious answer...
The text was updated successfully, but these errors were encountered: