Paper wallets to seed the LeapDAO instances of Burner Wallet with private keys.
git clone https://github.com/leapdao/paper-wallet
cd paper-wallet
yarn
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
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.
Finally... print, fold, cut, and glue your way to freedom!
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
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.