We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acd3162 commit 65dc7beCopy full SHA for 65dc7be
src/injective/chain_client/_wallet.py
@@ -32,6 +32,11 @@ def generate_wallet(
32
"address": address,
33
}
34
35
+def privkey_hex_to_bytes(privkey: hex) -> bytes:
36
+
37
+ pk_bytes = bytes.fromhex(privkey)
38
+ return pk_bytes
39
40
41
def seed_to_privkey(seed: str, path: str = DEFAULT_DERIVATION_PATH) -> bytes:
42
"""Get a private key from a mnemonic seed and a derivation path.
0 commit comments