fiatjaf
9185342c72
simplify environment variables required.
instead of multiple keys/macaroons with different permissions we request only one.
if someone wants to use lnbits with an invoice macaroon they're free to do it and
we will just fail on 'pay' methods, as before.
this also grandfathers the previous environment variables names so everything keeps
working without people having to change their setups.
in the meantime some bugs with lntxbot and c-lightning were fixed and the `requests`
dependency was eliminated because I can't organize myself into meaningful chunks of
changes.
4 years ago
HamishMacEwan
fc6e49b821
Change .env variable names to match lnbits.py
The required values are expected in LNBITS_INVOICE_KEY & LNBITS_ADMIN_KEY according to https://github.com/lnbits/lnbits/blob/master/lnbits/wallets/lnbits.py
4 years ago
fiatjaf
35f8e3334c
fix typo: LnbitsWallet -> LNbitsWallet.
4 years ago
fiatjaf
e74cf33f90
broken invoice listener on c-lightning and other fixes around wallets.
4 years ago
fiatjaf
b3c69ad49c
invoice listeners support on lnd and other fixes around wallets/
4 years ago
fiatjaf
e2f6c20e3b
update docs so master is runnable.
4 years ago
Eneko Illarramendi
3ab29e6e50
fix: lnbits.com deploy
4 years ago
fiatjaf
5513b34a66
change 1 to true on env vars because that is supported now.
4 years ago
fiatjaf
42c6620a07
quart run settings and hypercorn on docker/Procfile.
4 years ago
Arc
afb2cc4339
Update .env.example
4 years ago
supertestnet
bd48bdc04d
Update .env.example due to recent changes ( #91 )
The name of the flask app has changed and the word "all" has been eliminated as unnecessary because allowing anyone to use lnbits is the default.
4 years ago
Dennis Reimann
c3281399d2
Improve setup instructions and README
- README cleanups and link to documentation
- Improve dev setup instructions
- Fix js linting errors
- Move local setup instructions to installation docs
- Project link fix, closes #42
- Notes about frontend
- Clarify different LND backends
5 years ago
Eneko Illarramendi
8add56a24c
feat: allow limiting the use of LNbits to some user uuids
The `LNBITS_ALLOWED_USERS` env var can be used to limit access
to the application to some uuids only. "all" gives open access.
UUIDs should be comma separated.
5 years ago
Arc
b34a0a9835
Update .env.example
5 years ago
Eneko Illarramendi
4bf93d36c6
refactor: change the `WITH_ONION` env var and use `FORCE_HTTPS` instead
5 years ago
Eneko Illarramendi
b1da103080
chore: minor tweaks
5 years ago
Eneko Illarramendi
e1c5e970c4
feat: allow disabling extensions at installation level
5 years ago
Eneko Illarramendi
efb9deb028
feat: remove FEE_RESERVE
5 years ago
Arc
bb2d1ea140
Update .env.example
5 years ago
Eneko Illarramendi
dd23b20090
chore: various tweaks
5 years ago
Arc
7fced84f57
Update .env.example
5 years ago
Arc
0ca5586465
Update .env.example
5 years ago
Arc
908d1cbf24
Update .env.example
5 years ago
Arc
c6f47fc589
Update .env.example
5 years ago
Arc
4533363c49
Update .env.example
Added lnd grpc vars, uses the Zap example
5 years ago
Eneko Illarramendi
d03785558b
refactor: a wallet is a wallet is a wallet
5 years ago
Eneko Illarramendi
49addb8d56
refactor: breaking bad
5 years ago
Arc
3b530d4d5e
Update .env.example
5 years ago
Arc
bdecb5aee1
Added lnpay
5 years ago
Arc
b8b42d1475
Added read and invoice macs to lnd
5 years ago
Arc
c304ab4f93
ON credentials
5 years ago
Eneko Illarramendi
47b93a97d6
refactor: unify responses in backend wallets
5 years ago
fiatjaf
5f6585eb45
fee reserve defaults to 0.
5 years ago
Eneko Illarramendi
5849ffc678
refactor: abstract wallets
5 years ago
Eneko Illarramendi
3d3632a06f
refactor: add some dev files and `black` original code
Original server code has been moved to __init__ file, so we can
work on `lnbits` as a package.
5 years ago