Cardano FAQ

From Organic Design wiki
Revision as of 22:26, 13 August 2020 by Nad (talk | contribs) (How can I import a Byron wallet into Daedalus from an SQLite file?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How can I import a Byron wallet into Daedalus from an SQLite file?

First you need to use sqlite3 to view the root and hash fields of the wallet in question, and the run Daedalus and use netstat to check what port it's node is running on.

cd ~/.local/share/Daedalus/mainnet
curl -H "Content-Type: application/json" -kE tls/client/client.pem \
  -XPOST https://localhost:PORT/v2/byron-wallets -d '{ \
    "style":"random", \
    "name":"NEW_WALLET_NAME", \
    "encrypted_root_private_key":"ROOT_KEY", \
    "passphrase_hash":"HASH_KEY" \
  }'