feat: app

This commit is contained in:
hashbro
2026-10-05 06:12:43 +08:00
parent e654f65cf9
commit cb92baa395
32 changed files with 3583 additions and 1019 deletions
+3
View File
@@ -266,6 +266,8 @@ final class WalletSource
'TRX', 'TRON',
'BTC', 'BITCOIN',
'BNB', 'BSC', 'BINANCE',
'SOL', 'SOLANA',
'ARB', 'ARBITRUM',
];
public static function isSupportedChain(string $chainType): bool
@@ -375,6 +377,7 @@ final class WalletSource
'SOLANA', 'SOL' => 'SOL',
'TON' => 'TON',
'BNB', 'BSC', 'BINANCE' => 'BNB',
'ARB', 'ARBITRUM' => 'ETH',
default => strtoupper($chainType) ?: 'UNKNOWN',
};
}