BitShares Forum

Main => General Discussion => Topic started by: xeroc on March 19, 2015, 12:44:41 pm

Title: Quickly generate a paperwallet (PDF/SVG) using python tools
Post by: xeroc on March 19, 2015, 12:44:41 pm
Installation of libraries:
Code: [Select]
git clone https://github.com/xeroc/bitshares-pytools
cd bitshares-pytools/python-bitsharestools  ## requires python2-ecdsa
python2 setup.py install --user

easy_install-2.7 qrcode --user     ## QRcode library
easy_install-2.7 lxml --user       ## SVG editing
easy_install-2.7 pypdf2 --user     ## PDF library
easy_install-2.7 svg2pdf --user    ## SVG2PDF library

Create a PDF paperwallet
Code: [Select]
cd bitshares-pytools/paperwallet
python2 genbulkwallets.py --number 4

Create a BIP38 encrypted PDF paperwallet
Code: [Select]
cd bitshares-pytools/paperwallet
python2 genbulkwallets.py --number 4 -encrypt

Result
(http://i.imgur.com/kUDMTkP.png)

Big thanks for cass to deliver a nicely looking initial paperwallet (spanish only atm - more to come)
Title: Re: Quickly generate a paperwallet (PDF/SVG) using python tools
Post by: xeroc on March 24, 2015, 08:55:20 am
Simplified usage ..
Title: Re: Quickly generate a paperwallet (PDF/SVG) using python tools
Post by: xeroc on March 24, 2015, 01:59:13 pm
(http://i.imgur.com/l7s2Pv3.jpg)

Code: [Select]
python genbulkwallets.py --number 1 --design xeroc-businesscard
Title: Re: Quickly generate a paperwallet (PDF/SVG) using python tools
Post by: fran2k on April 01, 2015, 03:21:22 am
English version partially uploaded:
https://github.com/cassiopaia/bitshares-media/tree/master/paperwallets

Cass will update tomorrow the back.

Here is the wallet's text, so anyone can translate into another language and cass will make the new ones.
https://docs.google.com/document/d/10kK6UdiLUvmZ8jRAxv0NKbfgq-RLJUKetf3sLhhdNX4/edit
Title: Re: Quickly generate a paperwallet (PDF/SVG) using python tools
Post by: xeroc on April 01, 2015, 05:46:27 am
Ah .. cool .. I modifies the svg so I can add text via script .. but i am not satisfied with it yet .. thanks for posting the engl version!