Merge branch 'main' of https://github.com/boltcard/boltcard into main

This commit is contained in:
Peter Rounce 2022-08-09 14:47:09 +00:00
commit ff1fa2b6e3
2 changed files with 11 additions and 0 deletions

View file

@ -1,5 +1,15 @@
# FAQ
> How do you bech32 encode a string on the card ?
The LNURLw that comes from the bolt card is not bech32 encoded.
It uses [LUD-17](https://github.com/fiatjaf/lnurl-rfc/blob/luds/17.md).
> How do I generate a random key value ?
This will give you a new 128 bit random key as a 32 character hex value.
`$ hexdump -vn16 -e'4/4 "%08x" 1 "\n"' /dev/random`
> Why do I get a payment failure with NO_ROUTE ?
This is due to your payment lightning node not finding a route to the merchant lightning node.

View file

@ -27,6 +27,7 @@ Ubuntu 20.04 LTS server
### get a macaroon and tls.cert from the lightning node
create a macaroon with limited permissions to the lightning node
[lncli download & install](https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md)
```
$ lncli \
--rpcserver=lightning-node.io:10009 \