BitShares Forum
Other => Graveyard => BitShares PTS => Topic started by: xeroc on December 11, 2013, 03:16:32 pm
-
Hey there,
i recently started a small project to secure some of my coins in offline paper wallets.
I'd appreciate any comments.
Requirements:
- LaTeX distribution such as TexLive or MikTex
- LaTeX Packages
- tikz
- pst-barcode
- auto-pst-pdf
- csvtools
- coolstr
- 1_createEmptyPaperWallets:
- 1_createNewWalletsAndMoveCoins **and** 1_importExistingWallets:
- Python libraries:
- bitcoinrpc
- json
- subprocess
- pprint
Code:
https://github.com/xeroc/LaTeX-PaperWallet
Resulting PDFs:
https://github.com/xeroc/LaTeX-PaperWallet/tree/master/examples
(http://www7.pic-upload.de/thumb/17.06.13/aurf1rxudgal.png) (http://www.pic-upload.de/view-19746729/paperWallet-acorn-trimmed.png.html) (http://www7.pic-upload.de/thumb/17.06.13/1vq8nrquch3.png) (http://www.pic-upload.de/view-19746727/paperWallet-canton-trimmed.png.html) (http://www7.pic-upload.de/thumb/17.06.13/55wc9ng6d1x2.png) (http://www.pic-upload.de/view-19746728/paperWallet-MBMesser-trimmed.png.html) (http://www7.pic-upload.de/thumb/17.06.13/hl6l97g3zsw.png) (http://www.pic-upload.de/view-19746732/paperWallet-mrno-trimmed.png.html) (http://www7.pic-upload.de/thumb/17.06.13/8zt5aysy6x5u.png) (http://www.pic-upload.de/view-19746731/paperWallet-Timbo925_Green-trimmed.png.html) (http://www7.pic-upload.de/thumb/17.06.13/5ud76q1p6dt.png) (http://www.pic-upload.de/view-19746730/paperWallet-Timbo925_Grey-trimmed.png.html) (http://www7.pic-upload.de/thumb/17.06.13/ifnp84rvrfkg.png) (http://www.pic-upload.de/view-19746733/paperWallet-xeroc-trimmed.png.html) (http://www7.pic-upload.de/thumb/17.06.13/x599zopunen.png) (http://www.pic-upload.de/view-19746734/paperWallet_75rtuga-trimmed.png.html)
Thanks
to the great guys from openpaperwallet (https://github.com/openpaperwallet/openpaperwallet) who designed the notes under CC
This tool lets your generate PDF paperwallet for arbitrary altcoins
using QR-Codes for fast access to the address and the private key.
Howto Create PaperWallet
- Store address and privkey in csv file
You may select one of three options to generate you wallet.csv file with
private keys in it. Read the header of the files to adjust the settings to
your needs.- 1_createEmptyPaperWallets**:
to create new empty wallets using vanitygen
press ***Ctrl+C*** when You have enough - 1_createNewWalletsAndMoveCoins**:
to create new wallets using the bitcoin daemons and move coins accoring to the settings in that file
- 1_importExistingWallets**:
load existing wallets from deamons using 'listaddressgroupings'
- Uncomment _ONE_ note layout input line in 'paperWallet.tex' (line 41-48)
[li]Generate the PDF
[/li][/list]$ ./2_generatePDF.sh
$./3_shredAndCleanup.sh
- Donate to xeroc, vanitygen, charity ...
Donations are welcome
Thank you for every donation.
BTC: 1XeRocJ6PRUX419QQo9crW5nbsjetJLUn
XPM: AXeRocF9m3VX3P5TAfGiDq6hSSqWG5r6nd
LTC: LXeRoc6FVG3eswpuA4CJxjqMWc7Aq5sNnp
PPC: PXeRocjAG8W2bBPxZPRPBn5yErg3mRx8Gx
PTS: PkXeRocDnRSkHzuTbQdqYWRQ8QqmjwrdyY
NMC: MxerocLbhWEKELr2DAjXzUwAWRop2nsSZJ
Example python-config for Protoshares
altcoins = [
{
'name' : 'Protoshares', # Name of the coin
'unit' : 'PTS' # Unit name of that coin
'rpcuser' : 'protosharesrpc', # connections settings -- daemon must be running
'rpcpassword' : 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxg',
'rpchost' : 'localhost', # local daemon running
'rpcport' : 3838, # local port
'daemonName' : 'protoshared', # daemon name to dump privkeys
'passphrase' : '', # optional passphrase
'numberAddresses' : 1, # number of adresses to generate (are stored in deamon)
'coinsPerAddress' : 1, # coins to transfer to each new address
'fromWallet' : '', # send from wallet X
'walletName' : 'PaperWallet', # create new addreses in a new wallet
},
]
Example wallet.dat for Protoshares
Coin;Unit;Address;PrivKey;Balance;
Protoshares;PTS;PkXeRocDnRSkHzuTbQdqYWRQ8QqmjwrdyY;52dh54uzsdg4zfhsasdg5use4fhdfhsdsdgsdgh446HDFhfdRveL2KnCiYtNkF;1.000000
-
A nice guide :) Good work!
Personally, redundant-redundant backups of my wallets is enough security for me but there's no excuse for not having an old fashioned, paper copy.
-
***UPDATE***
Now with BIP 38 support for BTC addresses
-
Any chance to get a donation from the pts/btc bounty funds?