Beispiel #1
0
def generateAddress():
    client = Tron(network=network)
    account = client.generate_address()

    return jsonify({"data": account, "code": 200, "msg": "地址生成成功"})
Beispiel #2
0
def test_client_keygen():
    client = Tron()
    print(client.generate_address())
    print(client.get_address_from_passphrase('A'))
Beispiel #3
0
from tronpy import Tron
from pprint import pprint


client = Tron()
pprint(client.generate_address())