Recovering keypair from keystring #269
-
|
I'm trying to use the |
Beta Was this translation helpful? Give feedback.
Answered by
FrankC01
Feb 3, 2025
Replies: 1 comment 2 replies
-
|
The problem might be in Rust's wrapper side, as the valid schemes are in hex format in |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Where did the keystring come from as pysui supports 3 types:
The
~/.sui_config/sui.keystore, Depending on the key scheme, the first byte indicates the scheme:0 = ED25519 followed by privkey bytes
1 = SECP256K1 followed by privkey bytes
2 = SECP256R1 followed by privkey bytes
or
from wallet that can generate a string with prefix "suiprivkey"
or a dict
{ 'wallet_key':'0x.....', # Wallet exported key hex string 'key_scheme': SignatureScheme.ED25519 # Must align with wallet_key type }Can you create a throw away key and post in a reply?