mirror of
https://github.com/bumi/faraday_ln_paywall
synced 2025-06-16 17:25:35 +00:00
Update README.md
This commit is contained in:
parent
6e8b86e418
commit
c10b7c5bc9
@ -45,10 +45,10 @@ puts conn.get("/translate?text=Danke&to=en").body
|
|||||||
|
|
||||||
The middleware accepts the following configuration options:
|
The middleware accepts the following configuration options:
|
||||||
|
|
||||||
* max_amount: the maximum amount of an invoice that will automatically be paid. Raises a FaradayLnPaywall::PaymentError if the server request a higher amount
|
* `max_amount`: the maximum amount of an invoice that will automatically be paid. Raises a `FaradayLnPaywall::PaymentError` if the server request a higher amount
|
||||||
* address: the address of the lnd gRPC service( default: `localhost:10009`)
|
* `address`: the address of the lnd gRPC service( default: `localhost:10009`)
|
||||||
* credentials: path to the tls.cert (default: `~/.lnd/tls.cert`)
|
* `credentials`: path to the tls.cert (default: `~/.lnd/tls.cert`)
|
||||||
* macaroon: path to the macaroon path (default: `~/.lnd/data/chain/bitcoin/testnet/admin.macaroon`)
|
* `macaroon`: path to the macaroon path (default: `~/.lnd/data/chain/bitcoin/testnet/admin.macaroon`)
|
||||||
|
|
||||||
|
|
||||||
## What is the Lightning Network?
|
## What is the Lightning Network?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user