-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.alertbot.example
More file actions
52 lines (41 loc) · 1.7 KB
/
Copy pathenv.alertbot.example
File metadata and controls
52 lines (41 loc) · 1.7 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
# --- ChainAlert additions to merge into your Laravel .env ---
# Cache + queue on Redis for the poll-once/serve-many pattern
CACHE_STORE=redis
QUEUE_CONNECTION=redis
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
# Price source: CoinGecko (no key needed for low volume; a demo key lifts caps)
COINGECKO_API_URL=https://api.coingecko.com/api/v3
COINGECKO_API_KEY=
COINGECKO_TIMEOUT=10
COINGECKO_RETRIES=3
# On-chain source: blockchain.com Explorer Gateway (key optional -> X-Explorer-Auth-Key)
EXPLORER_API_URL=https://api.blockchain.info/explorer-gateway-kt
EXPLORER_API_KEY=
EXPLORER_API_TIMEOUT=15
EXPLORER_API_RETRIES=3
# Price watchlist (must map to CoinGecko ids in config/alertbot.php)
ALERTBOT_ASSETS=BTC,ETH,SOL,BCH
# Whale scanning (slow UTXO chains only) + per-cycle block cap
ALERTBOT_WHALE_CHAINS=BTC,BCH
ALERTBOT_WHALE_MAX_BLOCKS=3
ALERTBOT_WALLET_CHAINS=BTC,BCH,ETH,SOL
# Token-activity scanning (ERC-20/SPL) — ETH/SOL only (balance-snapshot diffing)
ALERTBOT_TOKEN_CHAINS=ETH,SOL
# Internal-transaction scanning (contract-driven value moves) — ETH only (EVM concept)
ALERTBOT_INTERNAL_CHAINS=ETH
# Anti-spam window (seconds)
ALERTBOT_COOLDOWN=900
# Poll cadences (cron). Defaults shown are conservative for a KEYLESS free tier;
# with an EXPLORER_API_KEY you can shorten blocks/wallets (e.g. */5, */10). Prices
# use CoinGecko's own limits. Change → redeploy (config is cached at boot).
ALERTBOT_CRON_PRICES=*/2 * * * *
ALERTBOT_CRON_BLOCKS=*/15 * * * *
ALERTBOT_CRON_WALLETS=*/15 * * * *
ALERTBOT_CRON_TOKENS=*/30 * * * *
ALERTBOT_CRON_INTERNAL=*/30 * * * *
# Telegram bot (from @BotFather)
TELEGRAM_BOT_TOKEN=
TELEGRAM_WEBHOOK_SECRET=
# Discord (optional; per-channel webhook URL as the target)
DISCORD_BOT_TOKEN=