iexbase/tron-api-python

How do I send TRC-10 tokens using this module ?

crypto-programmer opened this issue · 2 comments

How do I send TRC-10 tokens using this module ?

there is no such function

There is !
tron = Tron(full_node=full_node,
solidity_node=solidity_node,
event_server=event_server)
tron.private_key = SENDER_PRIVATE_KEY
tron.default_address = SENDER_PUBLIC_KEY
tron.trx.send_token(RECIEVER_PUBLIC_KEY, buy_amount, "token id",
SENDER_PUBLIC_KEY)

Thanks for making this library :) . I wil certainly donate if I make something .