1
0
mirror of https://github.com/bumi/faraday_ln_paywall synced 2025-06-16 00:58:13 +00:00

Update README.md

This commit is contained in:
bumi 2018-10-27 18:03:11 +00:00 committed by GitHub
parent 6e8b86e418
commit c10b7c5bc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,10 +45,10 @@ puts conn.get("/translate?text=Danke&to=en").body
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
* address: the address of the lnd gRPC service( default: `localhost:10009`)
* credentials: path to the tls.cert (default: `~/.lnd/tls.cert`)
* macaroon: path to the macaroon path (default: `~/.lnd/data/chain/bitcoin/testnet/admin.macaroon`)
* `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`)
* `credentials`: path to the tls.cert (default: `~/.lnd/tls.cert`)
* `macaroon`: path to the macaroon path (default: `~/.lnd/data/chain/bitcoin/testnet/admin.macaroon`)
## What is the Lightning Network?