It is currently 20 Jun 2019 23:35

Kredits (XKR)

COMMUNITY INITIATIVE BRINGING NEW LIFE TO KWAGSH

Extracting a key image from your Kwagsh wallet

KGH -> XKR
 
Posts: 92
Joined: 06 Sep 2018 05:12

Extracting a key image from your Kwagsh wallet

Post by Ough » 21 Nov 2018 00:21

The Coin Swap Team will need a way to verify each claimant's KGH balance and do so preferably without having access to the balance. This means no access to any user's hot wallet / private spend keys / seed words. Instead, the approach to take is similar to that of looking up the balance of a cold wallet where only things like key images and view keys are required.Funds can be verified but not spent.

How-To instructions from Monero can easily be applied to Kwagsh as well:

To generate a key image file, write this: export_key_images [insert any filename here and remove brackets] which will make a file with the file name that you chose in your monero core folder. Copy that file to the USB.

Now that you have the export key images file in your USB, put the file in the monero core folder of your main computer. You will now create a view wallet by SHIFT+right clicking your monero core folder, opening up the command window and typing this: monero-wallet-cli.exe --generate-from-view-key [insert any filename here and remove brackets] It will ask for a password then your address and view key. Put your cold wallet address and view key when asked. You have now created your view wallet which shows balance of your cold wallet. Everytime you open monero-wallet-cli, you can open your view wallet by typing the view wallet file name.

After opening your view wallet, you now type import_key_images [insert filename of export key image file here and remove brackets] and it will show you the updated amount spent and unspent of your wallet. Now each time you open your view wallet, you will be able to view the balance of your cold wallet and knowing if any amount was moved unless you add/spend funds to the wallet.

Congrats, you are done and can now track your cold wallet!

Source:
"Steps to verify balance of a cold wallet while leaving it cold"
https://www.reddit.com/r/Monero/comments/58fg8g/steps_to_verify_balance_of_a_cold_wallet_while/

More background detail -

"Extracting the key image from a signed key image file"
https://www.reddit.com/r/Monero/comments/8i4qjb/extracting_the_key_image_from_a_signed_key_image/

To get base64 encoded, signed key images data:
In Linux, get base64 signed raw tx data: base64 your_key_images_file | xclip -selection clipboard
In Windows, get base64 signed raw tx data: certutil.exe -encode -f your_key_images_file encoded.txt & type "encoded.txt" | clip

Return to Coin Swap