How to export/import private key to stacks wallet?

Hello,
May I ask How to export/import private key to stacks wallet?

Best regards,
Kevin

Hey Kevin,

Can you clarify what you’re looking to do here? It is possible to enter your secret key into the new wallet by downloading the latest version at Stacks Wallet then selecting “I already have a wallet” and entering your secret key to access your balance. It is not possible to retrieve the secret key from the Stacks wallet otherwise.

Hey Gina,
thanks for reply.
according my understanding, stacks account info has following.
So, my curiosity is we can get “private key” info from wallet.
I think “secret key” is not 1:1 match with “private key”.
“mnemonic”: “aaa bbb ccc ddd …”,
“keyInfo”: {
“address”: “STJRM2AMVF90ER6G3RW1QTF85E3HZH37006D5ER1”,
“privateKey”: “5a3f1f15245bb3fb…”,
“index”: 0,
“btcAddress”: “biwSd6KTEvJcyX2R8oyfgj5REuLzczMYC1”
}

Best regards,
Kevin

Hey Gina,
I think I found solution.

Best regards, Kevin.

1 Like

@kevinmax Whats the solution here?