Skip to content

Commit 78f8b85

Browse files
committed
edited examples
1 parent 03de1b1 commit 78f8b85

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/custom-nodes.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
from tronapi.tron import Tron
33

44
# Recommend FullNode: http://13.125.210.234:8090
5-
6-
75
fullNode = HttpProvider('https://api.trongrid.io:8090')
86

97
# Example 1

examples/send-transaction.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from tronapi.tron import Tron
22

33
tron = Tron('https://api.trongrid.io:8090')
4+
tron.private_key = 'private_key'
45

56
result = tron.send_transaction('FromAddress', 'ToAddress', 1)
67

0 commit comments

Comments
 (0)