Author Topic: Quickly generate a paperwallet (PDF/SVG) using python tools  (Read 1530 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: 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!

Offline fran2k

  • Full Member
  • ***
  • Posts: 126
    • View Profile
  • BitShares: 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 http://www.meetup.com/es-ES/BitSharesBA/ /// [old BTS 1.0 chain] Delegate bitshares-argentina (ex argentina-marketing-matt608) Thread https://bitsharestalk.org/index.php/topic,15781.0.html

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc


Code: [Select]
python genbulkwallets.py --number 1 --design xeroc-businesscard

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
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


Big thanks for cass to deliver a nicely looking initial paperwallet (spanish only atm - more to come)
« Last Edit: March 24, 2015, 08:55:08 am by xeroc ¯\_(ツ)_/¯ »