hsjoberg / lightning-box

A trust-minimized payment inbox for Lightning Addresses
MIT License
45 stars 6 forks source link

add to doc populate db after build #2

Open xraid opened 3 years ago

xraid commented 3 years ago

need run scripts to populate db with user/s need build before for scripts to run

npm run build

run the scripts to populate db with users :

node script/create-user.js <pub_key> <username> node script/create-withdrawal-code.js <username> <code>

npm run start