@@ -19,101 +19,15 @@ TRON is a block chain-based decentralized smart protocol and an application deve
1919
2020TRON is a product of Web 4.0 and the decentralized internet of next generation.
2121
22- # Quick Start
23-
24- > Note: This repository is a IDEA project which you can simply download and import.
25-
26- ** Download and build**
27-
28- ``` shell
29- > git clone https://github.com/tronprotocol/java-tron.git
30- > cd java-tron
31- > gradle build
32- ```
33-
34- ** Import project to IDEA**
35-
36- - [ File] -> [ New] -> [ Project from Existing Sources...]
37- - Select java-tron/build.gradle
38- - Dialog [ Import Project from Gradle] , confirm [ Use auto-import] and [ Use gradle wrapper task configuration] have been
39- selected,then select Gradle JVM(JDK 1.8)and click [ OK]
40-
41- # Testing
42-
43- ** Install Kafka and create two topics (block and transaction)**
22+
4423
45- ** Update the configuration**
46-
47-
48- ** Starting program**
49-
50- IDEA:
51- - [ Edit Configurations...] -> [ Add New Configuration] -> [ Application]
52- - [ Edit Configurations...] -> [ Main Class] : ` org.tron.example.Tron `
53- - [ Edit Configurations...] -> [ Use classpath of module] : ` java-tron_main `
54- - [ Edit Configurations...] -> [ Program arguments] : ` --type server `
55- - Run
56-
57- ![ run] ( https://github.com/tronprotocol/wiki/blob/master/images/commands/default-set.gif )
58-
59- or simply from terminal:
60- - ./gradlew run -Pserver=true
61-
62- ** Complete process**
24+ # Quick Start
6325
64- ![ help ] ( https ://github.com/tronprotocol/wiki/blob/master/images/commands/process.gif )
26+ Read the [ Quick Srart ] ( http ://wiki.tron.network/en/latest/quick_start.html ) .
6527
66- ** Other nodes to join need to modify the connection ip**
67- ![ help] ( https://github.com/tronprotocol/wiki/blob/master/images/commands/node-ip.gif )
6828
6929# Commands
70- ** help**
71-
72- | Description | Example |
73- | --- | --- |
74- | Help tips | ` help ` |
75-
76- ![ help] ( https://github.com/tronprotocol/wiki/blob/master/images/commands/help.gif )
77-
78- ** account**
79-
80- | Description | Example |
81- | --- | --- |
82- | Get address | ` account ` |
83-
84- ![ help] ( https://github.com/tronprotocol/wiki/blob/master/images/commands/account.gif )
85-
86- ** getbalance**
87-
88- | Description | Example |
89- | --- | --- |
90- | Get balance | ` getbalance ` |
91-
92- ![ help] ( https://github.com/tronprotocol/wiki/blob/master/images/commands/getbalance.gif )
93-
94- ** send [ to] [ balance] **
95-
96- | Description | Example |
97- | --- | --- |
98- | Send balance to address | ` send 2cddf5707aefefb199cb16430fb0f6220d460dfe 2 ` |
99-
100- ![ help] ( https://github.com/tronprotocol/wiki/blob/master/images/commands/send1.gif )
101-
102- ** printblockchain**
103-
104- | Description | Example |
105- | --- | --- |
106- | Print blockchain | ` printblockchain ` |
107-
108- ![ help] ( https://github.com/tronprotocol/wiki/blob/master/images/commands/printblockchain.gif )
109-
110- ** exit**
111-
112- | Description | Example |
113- | --- | --- |
114- | Exit | ` exit ` |
115-
116- ![ help] ( https://github.com/tronprotocol/wiki/blob/master/images/commands/exit.gif )
30+ Read the [ Commands] ( http://wiki.tron.network/en/latest/quick_start.html#commands ) .
11731
11832# Contact
11933
0 commit comments