[Mint] Add support for BTC and EUR in StrikeWallet backend, add EUR to FakeWallet (#561)

* strike for btc and eur

* strike works with eur

* backend check
This commit is contained in:
callebtc
2024-06-26 14:50:39 +02:00
committed by GitHub
parent 6b38ef6c29
commit 1766b6e92e
9 changed files with 86 additions and 25 deletions

View File

@@ -50,13 +50,14 @@ MINT_DERIVATION_PATH="m/0'/0'/0'"
# m/0'/0'/0' is "sat" (default)
# m/0'/1'/0' is "msat"
# m/0'/2'/0' is "usd"
# m/0'/3'/0' is "eur"
# In this example, we have 2 keysets for sat, 1 for msat and 1 for usd
# MINT_DERIVATION_PATH_LIST=["m/0'/0'/0'", "m/0'/0'/1'", "m/0'/1'/0'", "m/0'/2'/0'"]
MINT_DATABASE=data/mint
# Funding source backends
# Supported: FakeWallet, LndRestWallet, CoreLightningRestWallet, BlinkWallet, LNbitsWallet, StrikeUSDWallet
# Supported: FakeWallet, LndRestWallet, CoreLightningRestWallet, BlinkWallet, LNbitsWallet, StrikeWallet
MINT_BACKEND_BOLT11_SAT=FakeWallet
# Only works if a usd derivation path is set
# MINT_BACKEND_BOLT11_SAT=FakeWallet
@@ -78,7 +79,7 @@ MINT_CORELIGHTNING_REST_CERT="./clightning-2-rest/certificate.pem"
# Use with BlinkWallet
MINT_BLINK_KEY=blink_abcdefgh
# Use with StrikeUSDWallet (usd only, does not currently support sats/msats)
# Use with StrikeWallet for BTC, USD, and EUR
MINT_STRIKE_KEY=ABC123
# fee to reserve in percent of the amount