Skip to content

How to_Import private key to Bytz Wallet

BytzCK edited this page Nov 23, 2021 · 1 revision

How to import a private key into a BYTZ wallet

From the debug console or by using bytz-cli run the following command

importprivkey <your WIF key>
eg:
importprivkey NMbB5TBMStXxZwRg8BkrUY9MbbE4Y7qaP5YTE1NoxsEFUgRFWwo8

Verify the results with getaddressinfo

getaddressinfo Tx8TRhdf5isurUvm9Sxo8827eXZnmnphmU
{
  "address": "Tx8TRhdf5isurUvm9Sxo8827eXZnmnphmU",
  "scriptPubKey": "76a914fa55922bfbff17e05999ec548501c8e1b692e8db88ac",
  "ismine": true,
  "iswatchonly": false,
  "isscript": false,
  "pubkey": "036627627a63617e50328562c3dfa16aeb6fa5b67fe08e3832b59597b998dbce5b",
  "iscompressed": true,
  "label": "Test wallet do not use!!",
  "timestamp": 1635516305,
  "labels": [
    {
      "name": "Test wallet do not use!!",
      "purpose": "receive"
    }
  ]
}
Clone this wiki locally