Skip to content

Instantly share code, notes, and snippets.

@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
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.widget import Widget
from kivy.properties import ListProperty, NumericProperty
from kivy.metrics import dp
KV = '''
#:import chain itertools.chain
FloatLayout:
'''
Bezier AnimLabel
==============
Use AnimLabel to make letters of a Label follow an user-defined Bezier
curve during an animation.
The example allows to draw a bezier curve, define animation parameters,
and export the points to csv for integration into programs.
'''