Spaces:
Running
Running
make the address for USDT on ETH AND ARB - Follow Up Deployment
Browse files- index.html +4 -1
index.html
CHANGED
|
@@ -176,7 +176,7 @@
|
|
| 176 |
<div class="space-y-4">
|
| 177 |
<div>
|
| 178 |
<label class="block text-sm font-medium text-gray-700 mb-2">
|
| 179 |
-
<i class="fas fa-wallet mr-2"></i>Your {crypto} Wallet Address
|
| 180 |
</label>
|
| 181 |
<input
|
| 182 |
type="text"
|
|
@@ -293,6 +293,9 @@
|
|
| 293 |
isValid = walletAddress.length === 42 && walletAddress.startsWith('0x');
|
| 294 |
break;
|
| 295 |
case 'USDT':
|
|
|
|
|
|
|
|
|
|
| 296 |
case 'BNB':
|
| 297 |
isValid = walletAddress.length === 42 && walletAddress.startsWith('0x');
|
| 298 |
break;
|
|
|
|
| 176 |
<div class="space-y-4">
|
| 177 |
<div>
|
| 178 |
<label class="block text-sm font-medium text-gray-700 mb-2">
|
| 179 |
+
<i class="fas fa-wallet mr-2"></i>Your {crypto} Wallet Address {crypto === 'USDT' ? '(ETH or ARB)' : ''}
|
| 180 |
</label>
|
| 181 |
<input
|
| 182 |
type="text"
|
|
|
|
| 293 |
isValid = walletAddress.length === 42 && walletAddress.startsWith('0x');
|
| 294 |
break;
|
| 295 |
case 'USDT':
|
| 296 |
+
// Accept ETH (0x...) or ARB (0x...) addresses for USDT
|
| 297 |
+
isValid = walletAddress.length === 42 && walletAddress.startsWith('0x');
|
| 298 |
+
break;
|
| 299 |
case 'BNB':
|
| 300 |
isValid = walletAddress.length === 42 && walletAddress.startsWith('0x');
|
| 301 |
break;
|