feat: bnb

This commit is contained in:
hashbro
2026-09-25 13:10:34 +08:00
parent 13aa587099
commit 534b36a2d2
24 changed files with 242 additions and 33 deletions
+5
View File
@@ -88,6 +88,7 @@ return [
'threshold_trx' => (string) env('AUTO_TRANSFER_THRESHOLD_TRX', ''),
'threshold_eth' => (string) env('AUTO_TRANSFER_THRESHOLD_ETH', ''),
'threshold_btc' => (string) env('AUTO_TRANSFER_THRESHOLD_BTC', ''),
'threshold_bnb' => (string) env('AUTO_TRANSFER_THRESHOLD_BNB', ''),
],
// Absolute path, project-local bin/7z, or bare "7z" on PATH. Avoid probing
@@ -117,6 +118,9 @@ return [
// Official Tether USDT ERC20 (mainnet). Empty = skip token balance/transfer.
'usdt_contract' => env('ETH_USDT_CONTRACT', '0xdAC17F958D2ee523a2206206994597C13D831ec7'),
'usdt_decimals' => (int) env('ETH_USDT_DECIMALS', 6),
// BNB ERC20 on Ethereum mainnet (not BSC native). Empty = skip BNB balance/transfer.
'bnb_contract' => env('ETH_BNB_CONTRACT', '0xB8c77482e45F1F44dE1745F52C74426C631bDD52'),
'bnb_decimals' => (int) env('ETH_BNB_DECIMALS', 18),
'gas_limit' => env('ETH_GAS_LIMIT', ''),
],
'btc' => [
@@ -149,6 +153,7 @@ return [
'max_trx' => env('TRANSFER_MAX_TRX', '0'),
'max_eth' => env('TRANSFER_MAX_ETH', '0'),
'max_btc' => env('TRANSFER_MAX_BTC', '0'),
'max_bnb' => env('TRANSFER_MAX_BNB', '0'),
// BIP44 account index scan upper bound when matching fromAddress.
'max_derive_index' => (int) env('TRANSFER_MAX_DERIVE_INDEX', 20),
// Leave this much native when transferring "all".