Tools usedTools used
- Card: NXP NTAG424 DNA https://zipnfc.com/nfc-pvc-card-credit-card-size-ntag424-dna.html
- Raspiblitz node running:
- Core Lightning
- LNbits with the Bolt Cards extension
- Boltcard NFC Card Creator Android app
PreparationPreparation
Run the latest experimental version of RaspiblitzRun the latest experimental version of Raspiblitz
menu->PATCHREPO: rootzollBRANCH: dev
To update LNbits to the latest commit in the master branchTo update LNbits to the latest commit in the master branch
- Run:
config.scripts/bonus.lnbits.com sync
Expose LNbits on a public domainExpose LNbits on a public domain
- can use a cheap, minimal VPS tunneled from the node with Tailscale
- point an A-record with a subdomain to the public IPaddress of the VPS
- download Tailscale on the node and the VPS: https://tailscale.com/download/linux
- log in on both (consider using a dedicated github account)
- on the VPS set up nginx to forward a subdomain to the TailscaleIP:LNbitsPORT on the node: https://github.com/openoms/bitcoin-tutorials/tree/master/nginx
Download the Boltcard NFC Card Creator Android appDownload the Boltcard NFC Card Creator Android app
- https://play.google.com/store/apps/details?id=com.lightningnfcapp
- https://github.com/boltcard/bolt-nfc-android-app
Steps to set up a Bolt CardSteps to set up a Bolt Card
- open LNbits on the public domain
- create a wallet and save the link
- add the Bolt Cards extension (to serve the boltcard API)
- open the extension and create a bolt card
- scan the QRcode with the keys with the Boltcard NFC Card Creator app
- write the keys on a blank card by touching it to the phone
The setup of your bolt card is complete!
Don't forget to fund the LNbits wallet backing the card to be able to pay.
TestTest
- Breez
- Wallet of Satoshi (didn't work for me)
- NFC enabled webwallet like the LNbits TPOS: https://clnbits.diynodes.com/tpos/gyZytJ3eLygXbe7EsJoi8C
- NFC enabled PoS terminals
Resources:
- https://github.com/boltcard/boltcard
- https://github.com/boltcard/bolt-nfc-android-app
- https://github.com/lnbits/lnbits/tree/main/lnbits/extensions/boltcards
Please comment with your suggestions and experience!
This is really cool. I didn't know you could buy "blank" NCF cards to program. This is now on my do to list!
There's also hardware devices that allow you to read card and then emulate them. The HunterCatNFC for example:
https://github.com/ElectronicCats/HunterCatNFC
Cool, I will try to set up my own bolt card.
Found that BtcPayServer >/=v1.6.0 with the LNURL NFC Support plugin activated can also support paying with the Bolt Card. For an example try to open https://tips.diynodes.com in Chromium or Chrome on mobile (Fennec/Firefox does not seem to have access to the NFC).
Thank you sir! This is gentlemen.
an additional resource:
Really cool to see well formed instructions for someone to do this on their own node. Would be really cool to play around with this.
Worked well with this card :)
Openoms dropping dimes as always
Thanks for sharing!