Failed to parse key field: Invalid base64-encoded string: number of data characters (9) cannot be 1 more than a multiple of 4.... #389
Unanswered
ruslan-kornich
asked this question in
Developers
Replies: 1 comment
-
Hey @ruslan-kornich Thank you for your query. @pbukva can you please take a look at this one? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, please help me with a problem, I can't send ATOM tokens through a script on cosmpy
amount_to_send = 10
wallet = LocalWallet.from_mnemonic(mnemonic=mnemonic, prefix="cosmos")
wallet_to_send = LocalWallet.from_mnemonic(mnemonic=mnemonic_2, prefix="cosmos")
print(f"Balance of {wallet.address()}: {ledger_client.query_bank_balance(wallet.address())}")
print(f"Sending {amount_to_send} uatom from {wallet.address()} to {address_to_send}...")
try:
tx = ledger_client.send_tokens(wallet_to_send, amount_to_send, "uatom", wallet)
except Exception as e:
print("Error:", e)
I get an error
Failed to parse key field: Invalid base64-encoded string: number of data characters (9) cannot be 1 more than a multiple of 4....
Beta Was this translation helpful? Give feedback.
All reactions