ON settings
This commit is contained in:
parent
c304ab4f93
commit
5f2cee4303
|
@ -1,6 +1,6 @@
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from .wallets import LntxbotWallet # OR LndWallet
|
from .wallets import LntxbotWallet # OR LndWallet OR OpennodeWallet
|
||||||
|
|
||||||
|
|
||||||
WALLET = LntxbotWallet(
|
WALLET = LntxbotWallet(
|
||||||
|
@ -11,6 +11,7 @@ WALLET = LntxbotWallet(
|
||||||
|
|
||||||
# OR
|
# OR
|
||||||
# WALLET = LndWallet(endpoint=os.getenv("LND_API_ENDPOINT"), admin_macaroon=os.getenv("LND_ADMIN_MACAROON"))
|
# WALLET = LndWallet(endpoint=os.getenv("LND_API_ENDPOINT"), admin_macaroon=os.getenv("LND_ADMIN_MACAROON"))
|
||||||
|
# WALLET = OpennodeWallet(endpoint=os.getenv("OPENNODE_API_ENDPOINT"),admin_key=os.getenv("OPENNODE_ADMIN_KEY"),invoice_key=os.getenv("OPENNODE_INVOICE_KEY"))
|
||||||
|
|
||||||
LNBITS_PATH = os.path.dirname(os.path.realpath(__file__))
|
LNBITS_PATH = os.path.dirname(os.path.realpath(__file__))
|
||||||
DATABASE_PATH = os.getenv("DATABASE_PATH") or os.path.join(LNBITS_PATH, "data", "database.sqlite3")
|
DATABASE_PATH = os.getenv("DATABASE_PATH") or os.path.join(LNBITS_PATH, "data", "database.sqlite3")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user