ZCash to paperwallet; paperwallet to another wallet

Hello community,

Im searching around, trying to collect necessary ‘crumbs’ to achieve
a ZCash to paper and then paper to other wallet transaction for testing
purpose.

For now I have generated paperwallets using: https://github.com/MichaelMure/WalletGenerator.net
It works pretty much the same as bitaddress.org.
I had to copy and paste the images with GIMP because
I want to have ~5 wallets on one paper sheet including raw public/private key
and a QR code to scan it easily.

I am now stuck if I send ZCash to one of the paper wallets how
do I send it back to another address?
I am only familiar with Linux. I have installed zcash-cli.
I prefer to only use properly maintained command line tools.

Can anybody tell me how to do it?
(sorry for not reading the docs)

Both Zcash4win and Jaxx wallets have tools for importing a wallet using the private send key. What wallet are you using or wanting to use?

—For CLI—

Transparent:

zcash-cli importprivkey < t-priv-key >

Shielded:

zcash-cli z_importkey < z-priv-key >

More information:

Thanks! This has pointed me into the right direction.

I didnt know that I had to setup a full node.
This is what I have done so far:

mkdir -p ~/.zcash
echo "addnode=mainnet.z.cash" >> ~/.zcash/zcash.conf
echo "rpcuser=z" >>~/.zcash/zcash.conf
echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >>~/.zcash/zcash.conf
echo "exportdir=/home/z/zcash" >>~/.zcash/zcash.conf
zcash-fetch-params

Then I have generated addresses and used qrencode tool to output a QR code additionally on the console:

sudo pacman -S qrencode
ADR=$(zcash-cli getnewaddress) && echo $ADR && qrencode -t UTF8 $ADR
PRIV=$(zcash-cli dumpprivkey $ADR); echo $PRIV; qrencode -t UTF8 $PRIV

you can also use curl to QRencode your <PUBLIC!> addresses :slight_smile:

echo <publickey> | curl -F-=\<- qrenco.de 

next I will try to make transactions and buy a 2D QRcode scanner :wink:

1 Like

I can see where this is going :smiley:
GL on your project!

I will be trying out QRendcode my self, I have been using a php script for QR generating and I’ve never bothered searching a more logical and performing solution :slight_smile:

My plan is to generate a set of addresses including private keys. Then pipe them through qrencode and print them for save offline storage.
A simple bash script will do fine.
One catch is if you print the ASCII text the QR code is inverted and my ‘untrusted’ android scanner app doesnt read it. Generally a bad idea to scan these codes with an ‘untrusted’ device. Therefore the ‘non-intelligent’ USB QR scanner.

I hope the qrencode parameters will solve the color issue.

--foreground=RRGGBB[AA]
--background=RRGGBB[AA]
          specify  foreground/background  color  in hexadecimal notation.  6-digit (RGB) or 8-digit
          (RGBA) form are supported.  Color output support available only in PNG, EPS and SVG.

But first I have to go to work :slight_smile:

1 Like