-
-
Notifications
You must be signed in to change notification settings - Fork 76
Error: The seed must be exactly 32 bytes long #159
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
Comments
Hello, could you please provide a sample of your code, e.g. how you import the keys and how you use them. It is difficult to guess what the problem is without those information. Thanks! |
import os from decouple import config PLATFORM_KEYS = {
} NETWORK = Network.TESTNET class Payback:
|
Can you check if your payment signing key is an extended key? It will have something like "PaymentExtendedSigningKeyShelley_ed25519_bip32" in your key file. If so, you will need to load your keys with |
Yes ...they are extended keys ... let me try. Resolved. I will update the script above to have the correct code ...cheers. |
Closing this issue as the root cause has been found. Feel free to reopen if the issue is still not resolved. |
Describe the bug
From a mnemonic (32 words length) i have derived a set of payment.vkey/skey and stake.skey/vkey. Using these keys i am trying to now sign the tx. in pycardano using interface:builder.build_and_sign.
(same transaction works for cardano-cli to be clear.So there is some limitation to this library for being used for transaction)
To Reproduce
Logs
The seed must be exactly 32 bytes long
Expected behavior
Environment and software version (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: