add more crypto options

master
Aevann 2023-11-01 01:45:12 +03:00
parent 7f713441f9
commit 7d77fd6c9a
3 changed files with 16 additions and 5 deletions

View File

@ -2064,7 +2064,7 @@ def insert_transaction_post(v):
amount = request.values.get("amount", "").strip()
username = request.values.get("username", "").strip()
if type not in {'BTC', 'ETH'}:
if type not in {'BTC', 'ETH', 'USDT', 'USDC'}:
abort(400, "Invalid transaction currency!")
if not id:

View File

@ -18,6 +18,8 @@
<option hidden disabled selected value>-- select an option --</option>
<option value="BTC">BTC</option>
<option value="ETH">ETH</option>
<option value="USDT">USDT</option>
<option value="USDC">USDC</option>
</select>
</div>

View File

@ -17,14 +17,23 @@
<td><a rel="nofollow noopener" href="https://buymeacoffee.com/rdrama.net/membership">https://buymeacoffee.com/rdrama.net/membership</a></td>
</tr>
{% endif %}
<tr>
<td>Ethereum/Brave Attention Token (ETH/BAT)</td>
<td>0xBBf1043A60C6894Db17b3118CA960FFDF84c9eea</td>
</tr>
<tr>
<td>Bitcoin (BTC)</td>
<td>bc1qs5hamvytnkllgml89flzhcyt3l4a3u4gs8lvvp</td>
</tr>
<tr>
<td>Ethereum (ETH)</td>
<td>0xBBf1043A60C6894Db17b3118CA960FFDF84c9eea</td>
</tr>
<tr>
<td>Tether (USDT)</td>
<td>0xBBf1043A60C6894Db17b3118CA960FFDF84c9eea</td>
</tr>
<tr>
<td>USD Coin (USDC)</td>
<td>0xBBf1043A60C6894Db17b3118CA960FFDF84c9eea</td>
</tr>
<tr>
<td>Monero (XMR)</td>
<td>44hdEpAYXkB2VwkWz6LR9zZhcaG8zrUzn21aPy1HSdcsjT51fPdpMV8hkf5QQdHKs9VsAs3so5Vq5easdBbzmcifGcqfxfw</td>