Skip to content
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

Please tell me the API to restore to Daedalus. #5

Open
okepod opened this issue Aug 29, 2022 · 0 comments
Open

Please tell me the API to restore to Daedalus. #5

okepod opened this issue Aug 29, 2022 · 0 comments

Comments

@okepod
Copy link

okepod commented Aug 29, 2022

I also restored from secret.key, but I get a remittance error.
(Secret key without remittance password)

after thatI extracted the private key from secret.key.

I've tried restoring to Daedalus using my private key, but I get an error.

Please tell me the code to restore to Daedalus.

curl -X POST https://localhost:57835/v2/byron-wallets
-d '{"encrypted_root_private_key":"3392※※72","name":"My Old Byron Wallet","passphrase_hash”:”null”,”style":"random"}'
--cert /Users/o/Library/Application Support/Daedalus Mainnet/tls/client/client.pem
--cacert /Users/o/Library/Application Support/Daedalus Mainnet/tls/client/ca.crt
-H "Content-Type: application/json"

curl: (60) SSL certificate problem: self signed certificate in certificate chain
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
curl: (3) URL using bad/illegal format or missing URL
zsh: command not found: -d
zsh: command not found: --cert
zsh: command not found: -H

curl --cacert "$HOME/Library/Application Support/Daedalus Mainnet/tls/client/ca.crt" \

--cert "$HOME/Library/Application Support/Daedalus Mainnet/tls/client/client.pem"
https://localhost:49375/v2/byron-wallets -H "Content-Type: application/json"
-d '{"encrypted_root_private_key":"3392※※72","name":"","passphrase_hash":null,"style":"random"}'

{"code":"bad_request","message":"Error in $: parsing Cardano.Wallet.Api.Types.ByronWalletPostData(ByronWalletPostData) failed, key 'mnemonic_sentence' not found"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant