Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ MINT_BLINK_KEY=blink_abcdefgh
# Use with StrikeWallet for BTC, USD, and EUR
MINT_STRIKE_KEY=ABC123

# Use with LNMarkets for BTC
MINT_LNMARKETS_KEY=your_lnmarkets_key
MINT_LNMARKETS_SECRET=your_lnmarkets_secret
MINT_LNMARKETS_PASSPHRASE=your_lnmarkets_passphrase

# fee to reserve in percent of the amount
LIGHTNING_FEE_PERCENT=1.0
# minimum fee to reserve
Expand Down
6 changes: 6 additions & 0 deletions cashu/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ class MintBackends(MintSettings):
mint_strike_key: str = Field(default=None)
mint_blink_key: str = Field(default=None)

mint_lnmarkets_key: str = Field(default=None)
mint_lnmarkets_secret: str = Field(default=None)
mint_lnmarkets_passphrase: str = Field(default=None)
mint_lnmarkets_endpoint: str = Field(
default="https://api.lnmarkets.com/v3"
)

class MintLimits(MintSettings):
mint_rate_limit: bool = Field(
Expand Down
1 change: 1 addition & 0 deletions cashu/lightning/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from .lnbits import LNbitsWallet # noqa: F401
from .lnd_grpc.lnd_grpc import LndRPCWallet # noqa: F401
from .lndrest import LndRestWallet # noqa: F401
from .lnmarkets import LNMarketsWallet # noqa: F401
from .strike import StrikeWallet # noqa: F401

backend_settings = [
Expand Down
Loading