title: How to programmatically validate Tether (TRC20) Wallet Addresses in PHP?
body: <p>I am having an issue related to validating cryptocurrency wallet addresses, specifically USDT.</p>
  <p>USDT can be validated either as a BTC or ETH address, depending on the network type.</p>
  <p>Basically it goes like that:</p>
  <ul>
  <li>If cryptocurrency is USDT and chain type is ERC20, validate the address against ETH
  address format.</li>
  <li>If cryptocurrency is USDT and wallet type is OMNI, validate the address against BTC
  address format.</li>
  </ul>
  <p>I haven't managed to find a specific validation for USDT:TRC20 addresses and I am not sure how to validate them.</p>