Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Paper wallets to seed the Burner Wallet with private keys.

Notifications You must be signed in to change notification settings

0xHabitat/paper-wallet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

paperwallet

Paper wallets to seed the LeapDAO instances of Burner Wallet with private keys.

paperwallets

install

git clone https://github.com/leapdao/paper-wallet
cd paper-wallet
yarn

run

node index.js

This will generate a file called generated.html that can be printed.

You could also just print out private.svg if you are in a pinch.

If you would like me to generate you a special wallet design cspaperwallet.jpg hit me up on Twitter or Telegram @austingriffith

walletsinfold

batch generation

If you want to make a large batch of wallets and merge them into a single pdf for ease of printing, there is a batch.js:

First, get your template.html looking right.

Then, edit HOWMANY in the batch.js and run it:

node batch.js

Also possible to generate without template (update background picture and sizes/positions of QR codes inside the script):

node batch-cannes.js

This will generate a file called wallets.pdf and also addresses.txt for airdropping.

image

Finally... print, fold, cut, and glue your way to freedom!

paperwalletprinted

sticker generation

It is possible to generate just QR code stickers instead of using templates. batch-stickers.js will generate them using template (templatestickers*.html) to place the stickers on page while batch-stickers-cannes.js (configured for Cannes film fetival demo) uses parameters configured inside the script to generate a page.

Configure URL, HOWMANY, PATH and BATCH. Additionaly perPage is configured in batch-stickers.js or positions in batch-stickers-cannes.js

node batch-stickers.js

or

node batch-stickers-cannes.js

air dropping

You will need a distribution account. I would suggest using a mnemonic you can remember in the Burner Wallet and then copy the private key the wallet generates.

You will then pass this private key into the airdrop script within the command you run it with or in a .env file:

echo "SENDING_PK=0xdeadbeef" > .env

Options to configure: provider - link to Leap network RPC tokenColor - Color of dispensed token in Leap network amountToSend - How many tokens to send to each address folder - sub-folder with file of addresses batch - name of the batch (as used in batch generation script)

If this account has the necessary funds, it will drop whatever you specify to all accounts listed in your addresses-${batch}.txt file:

node airdrop.js

Use the CONFIG options like dryRun for more control and testing.

walletcutting

About

Paper wallets to seed the Burner Wallet with private keys.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 53.7%
  • HTML 46.3%