node
(>=18
)python3
git clone https://github.com/rampall/bzz-gift-wallet-qrcode-generator.git
cd bzz-gift-wallet-qrcode-generator
npm install
cp .env.sample .env
- Set the in
PRIVATE_KEY
(without0x
prefix) in.env
with the wallet used to generate gift codes - Set your
RPC
,TOKEN_AMOUNT
,NATIVE_AMOUNT
,WALLET_COUNT
values
Run:
node index.js
This will generate a .json
and a .csv
file with the list of wallet address and gift codes
Run:
python3 generate-qrcode.py <WALLETS-CSV-FILE-PATH>
where WALLETS-CSV-FILE-PATH
is the csv file frtom previous step
This will generate a bunch of qrcode svg files and a qrcodes.html
in the qrcodes
folder
Open the generated qrcodes.html
in a browser and press CTRL + P
to save as PDF