Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 974 Bytes

README.md

File metadata and controls

46 lines (33 loc) · 974 Bytes

Sweet Lightning

⚡️ Pay for your candy with Bitcoin over Lightning

Try it on:

Sweet Lightning Demo

Run it locally

yarn # install dependencies

yarn build # build the app

# run it
yarn start \
  --lnd.adminmacaroonpath admin.macaroon \
  --lnd.rpccert lnd_rpc.crt \
  --lnd.rpcserver localhost:10009 \
  --externalurl http://localhost:3000 \
  --listen 0.0.0.0:3000

# use it
open http://localhost:3000

Run in development mode

yarn # install dependencies

# run it
yarn dev \
  --lnd.adminmacaroonpath admin.macaroon \
  --lnd.rpccert lnd_rpc.crt \
  --lnd.rpcserver localhost:10009 \
  --externalurl http://localhost:3000 \
  --listen 0.0.0.0:3000

# preview it
open http://localhost:3000