some examples of interact with sunswap using python
check the USDT balance on the account
monitor the price of SUN, if the price of SUN is lower than 0.0054 USDT/SUN, buy 1 USDT of SUN.
tron explorer:
tron developers docs:
https://developers.tron.network/docs
tron api key
https://developers.tron.network/reference/select-network
tronpy: