Files
LightningTipBot/config.yaml.example
MichilisandClaude Sonnet 5.5 48f8a6c7c9 Send note mutations to the mint's callback and polish LNURLcash UX
- Splits and melts went to the withdraw link, but mints such as
  mint.600.wtf take mutations at the callback named in the note's own
  withdraw info (/w/cb). The mint answered 200 without a status, which
  read as an unknown outcome and left minting stuck in recovery. The
  fake mint now behaves the same way.
- Count the LNbits routing reserve (max 1 sat, 1%) in the balance check.
- Allow several comma separated mints in one url entry.
- Format the LNURLcash help like the other help menus.
- Fix int64 passed to %s in the claimed, reclaimed, redeem and view
  messages.
- Reword the in-progress and insufficient-balance messages in every
  language.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 23:48:14 +00:00

61 lines
2.0 KiB
Plaintext

bot:
socks_proxy:
host: 127.0.0.1:9996
username: test
password: username
tor_proxy:
host: 127.0.0.1:9050
http_proxy: ""
lnurl_public_host_name: "https://mylnurl.com"
lnurl_server: "http://127.0.0.1:5454" # or http://0.0.0.0:5454 depending on your configuration
lnurl_image: true
admin_api_host: localhost:6060
admin_api_token: "" # required for the admin API: send it as "Authorization: Bearer <token>"
telegram:
message_dispose_duration: 10
api_key: "1234"
lnbits:
url: "http://127.0.0.1:5000"
admin_key: "1234"
admin_id: "1234"
webhook_server: "http://0.0.0.0:5588"
lnbits_public_url: "link.mylnurl.com"
database:
db_path: "data/bot.db"
buntdb_path: "data/bunt.db"
transactions_path: "data/transactions.db"
shop_buntdb_path: "data/shop.db"
groupsdb_path: "data/groups.db"
lnurlcash_path: "data/lnurlcash.db"
generate:
open_ai_bearer_token: "token_here"
dalle_key: "asd"
dalle_price: 1000
worker: 2
nostr:
private_key: "hex private key here"
lnurlcash: # LUD-25 bearer notes, see docs/lnurlcash/PLAN.md
enabled: false
mints:
# url may list several mints, comma separated (e.g. "lnurl.21mint.me,mint.600.wtf"):
# the first keeps this name, the others are named after their host. Users pick
# their own default with /lnurlmints; `default: true` is the fallback.
- name: 21mint
url: https://lnurl.21mint.me
default: true
min_note_sat: 1
max_note_sat: 100000
max_outstanding_sat_per_user: 500000
max_outstanding_notes_per_user: 200
max_batch_size: 100
max_batch_total_sat: 500000
group_note_max_sat: 1000
max_mint_fee_ppm: 20000
auto_reclaim_days: 0
status_poll_interval: 5m
invoice_wait_timeout: 60s
batch_strategy: split # or: invoices
batch_formats: [pdf, json, csv]
secret_encryption_key: "" # 64 hex chars, e.g. `openssl rand -hex 32`; required when enabled
admin_telegram_id: 0 # optional: Telegram user id that receives mint alerts