Repository navigation
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
91 lines (87 loc) · 3.3 KB
/
Copy pathconfig.yaml.example
File metadata and controls
91 lines (87 loc) · 3.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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
telegram:
message_dispose_duration: 10
api_key: "1234"
log_group_id: -1001234567890 # Telegram group chat ID where errors will be logged
error_thread_id: 0 # Optional: specific thread ID for error messages (0 for main chat)
lnbits:
url: "http://127.0.0.1:5000"
admin_key: "1234"
admin_id: "1234" # unused on lnbits 1.x, kept for older deployments
# ACL token scoped to /users/api/v1, required on lnbits 1.x to create users.
# Mint one under your lnbits account's access-control settings; a wallet api
# key does not grant account management there.
admin_token: "1234"
webhook_server: "http://0.0.0.0:5588" # Local webhook server address
webhook_public_url: "https://yourdomain.com/webhook" # Public URL for webhooks (for reverse proxy)
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"
referrals_path: "data/referrals.db"
generate:
open_ai_bearer_token: "token_here"
dalle_key: "asd"
dalle_price: 1000
worker: 2
nostr:
private_key: "hex private key here"
# Third-party price API configuration
# Bitcoin price is fetched in parallel from CoinGecko, CoinMarketCap, and Binance.
# First successful response wins. CoinGecko and Binance require no key.
third_party:
coinmarketcap_api_key: "your-cmc-api-key-here" # optional — get free key at coinmarketcap.com/api
# DCA bot integration
dca:
wallet_username: "" # when sats are received by this Telegram username, reset DCA retry counts
api_url: "https://bitcoindeepa-dca-be-production.up.railway.app"
# API Configuration
api:
# Analytics API - HMAC authenticated endpoints for data export
# Generate secrets with: openssl rand -hex 32
analytics:
enabled: true
timestamp_tolerance: 300 # seconds (5 minutes)
api_keys:
data-team:
name: "Data Team"
hmac_secret: "your-analytics-hmac-secret-here"
# Add more keys for different consumers:
# dashboard:
# name: "Internal Dashboard"
# hmac_secret: "another-secure-secret-here"
# Send API - wallet-based HMAC authenticated endpoints
send:
enabled: true
internal_network: "10.0.0.0/24"
max_amount: 1000000
min_amount: 1
admin_approval_threshold: 100000
max_memo_length: 280
rate_limit: 60
whitelisted_wallets:
BiccoindeepaDSA:
username: "BiccoindeepaDSA"
hmac_secret: "your-unique-bitcoindeepa-secret-here"
# admin_approval_threshold: 50000 # override global (0 or omit = use global)
# max_amount: 500000 # override global (0 or omit = use global)
CeycubeBank:
username: "CeycubeBank"
hmac_secret: "your-unique-ceycube-secret-here"
admin_approval_threshold: 200000 # wallet-specific: override global 100000
max_amount: 2000000 # wallet-specific: override global 1000000
timestamp_tolerance: 300