Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Quickly generate a paperwallet (PDF/SVG) using python tools  (Read 424 times)

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11957
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Quickly generate a paperwallet (PDF/SVG) using python tools
« 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


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 ¯\_(ツ)_/¯ »
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11957
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Quickly generate a paperwallet (PDF/SVG) using python tools
« Reply #1 on: March 24, 2015, 08:55:20 AM »
Simplified usage ..
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11957
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Quickly generate a paperwallet (PDF/SVG) using python tools
« Reply #2 on: March 24, 2015, 01:59:13 PM »


Code: [Select]
python genbulkwallets.py --number 1 --design xeroc-businesscard
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline fran2k

  • Full Member
  • ***
  • Posts: 126
    • View Profile
  • BTS: fran2k
Re: Quickly generate a paperwallet (PDF/SVG) using python tools
« Reply #3 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
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: 11957
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Quickly generate a paperwallet (PDF/SVG) using python tools
« Reply #4 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!
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

 

Google+