Quickly generate a paperwallet (PDF/SVG) using python tools

Started by xeroc, March 19, 2015, 12:44:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

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!

fran2k

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
Witness: rmglab /// Buenos Aires BTS Meetup [url="http://www.meetup.com/es-ES/BitSharesBA/"]http://www.meetup.com/es-ES/BitSharesBA/[/url] /// [old BTS 1.0 chain] Delegate bitshares-argentina (ex argentina-marketing-matt608) Thread [url="https://bitsharestalk.org/index.php/topic,15781.0.html"]https://bitsharestalk.org/index.php/topic,15781.0.html[/url]

xeroc



python genbulkwallets.py --number 1 --design xeroc-businesscard

xeroc


xeroc

#1
Installation of libraries:

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
cd bitshares-pytools/paperwallet
python2 genbulkwallets.py --number 4


Create a BIP38 encrypted PDF paperwallet
cd bitshares-pytools/paperwallet
python2 genbulkwallets.py --number 4 -encrypt


Result


Big thanks for cass to deliver a nicely looking initial paperwallet (spanish only atm - more to come)