Skip to content

Instantly share code, notes, and snippets.

View ygboucherk's full-sized avatar
💭
I may be slow to respond.

ygboucherk

💭
I may be slow to respond.
View GitHub Profile
@andelf
andelf / trc20.py
Created February 28, 2020 18:14
Get TRC20 balance and Transfer TRC20 tokens
import requests
import base58
import base64
from pprint import pprint
ADDRESS = "T....your address"
PRIV_KEY = 'hex private key'
CONTRACT = "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t" # USDT