Skip to content

Commit cf775e5

Browse files
authored
Merge pull request #446 from King31T/gh-pages
Fix: spelling fix and format fix
2 parents 8a3250d + 3dab649 commit cf775e5

File tree

5 files changed

+54
-52
lines changed

5 files changed

+54
-52
lines changed

contracts/contract/index.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1602,15 +1602,17 @@ <h3 id="defination-of-smart-contract">Defination of Smart Contract<a class="head
16021602
<span class="w"> </span><span class="kt">bytes</span><span class="w"> </span><span class="nv">code_hash</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="m m-Decimal">9</span><span class="p">;</span>
16031603
<span class="w"> </span><span class="kt">bytes</span><span class="w"> </span><span class="nv">trx_hash</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="m m-Decimal">10</span><span class="p">;</span>
16041604
<span class="p">}</span>
1605-
</code></pre></div>
1606-
origin_address: smart contract creator address
1607-
contract_address: smart contract address
1608-
abi: the api information of all the function of the smart contract
1609-
bytecode: smart contract byte code
1610-
call_value: TRX transferred into smart contract while call the contract
1611-
consume_user_resource_percent: resource consumption percentage set by the developer
1612-
name: smart contract name
1613-
origin_energy_limit: energy consumption of the developer limit in one call, must be greater than 0. For the old contracts, if this parameter is not set, it will be set 0, developer can use updateEnergyLimit api to update this parameter (must greater than 0)</p>
1605+
</code></pre></div></p>
1606+
<ul>
1607+
<li>origin_address: smart contract creator address</li>
1608+
<li>contract_address: smart contract address</li>
1609+
<li>abi: the api information of all the function of the smart contract</li>
1610+
<li>bytecode: smart contract byte code</li>
1611+
<li>call_value: TRX transferred into smart contract while call the contract</li>
1612+
<li>consume_user_resource_percent: resource consumption percentage set by the developer</li>
1613+
<li>name: smart contract name</li>
1614+
<li>origin_energy_limit: energy consumption of the developer limit in one call, must be greater than 0. For the old contracts, if this parameter is not set, it will be set 0, developer can use updateEnergyLimit api to update this parameter (must greater than 0)</li>
1615+
</ul>
16141616
<p>Through other two grpc message types CreateSmartContract and TriggerSmartContract to create and use smart contract.</p>
16151617
<h3 id="usage-of-the-function-of-smart-contract">Usage of the Function of Smart Contract<a class="headerlink" href="#usage-of-the-function-of-smart-contract" title="Permanent link">&para;</a></h3>
16161618
<ul>

getting_started/getting_started_with_javatron/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,9 @@
343343
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
344344

345345
<li class="md-nav__item ">
346-
<a href="#generat-account" class="md-nav__link" >
346+
<a href="#generate-account" class="md-nav__link" >
347347
<span class="md-ellipsis">
348-
Generat account
348+
Generate account
349349
</span>
350350
</a>
351351

@@ -1560,7 +1560,7 @@ <h1 id="getting-started-with-java-tron">Getting Started with java-tron<a class="
15601560
<p>This page mainly explains how to start the java-tron node and use the command line tool <code>wallet-cli</code> to execute basic commands to interact with the java-tron node. Regarding the installation of java-tron, you can download the runnable file directly or build it from source code. Instructions for installing java-tron can be found on the <a href="../../using_javatron/installing_javatron/">Install and Build</a> page. This tutorial on this page assumes java-tron and associated developer tools have been successfully installed.</p>
15611561
<p>This page covers the basics of using java-tron, which includes generating accounts, joining the TRON Nile testnet, and sending TRX between accounts. wallet-cli is also used in this document. wallet-cli is a command-line tool of the TRON network. This tool provides user interactive commands, which can be used to interact with java-tron more conveniently.</p>
15621562
<p>java-tron is a TRON network client written in Java. This means a computer running java-tron will become a TRON network node. TRON is a distributed network where information is shared directly between nodes rather than being managed by a central server. After the super representative's node generates a new block, it will send the block to its peers. On receiving a new block, each node checks that it is valid and adds it to their database. java-tron uses the information provided by each block to update its "state" - the balance of each account on the TRON network. There are two types of accounts on the TRON network: externally owned accounts and contract accounts. The contract account executes the contract code when a transaction is received. An external account is an account that a user manages locally in order to sign and submit transactions. Each external account is a public-private key pair, where the public key is used to derive a unique address for the user, and the private key is used to protect the account and securely sign messages. Therefore, in order to use the TRON network, it is first necessary to generate an external account (hereinafter referred to as "account"). This tutorial will guide users on how to create an account, deposit TRX tokens, and transfer TRX.</p>
1563-
<h2 id="generat-account">Generat account<a class="headerlink" href="#generat-account" title="Permanent link">&para;</a></h2>
1563+
<h2 id="generate-account">Generate account<a class="headerlink" href="#generate-account" title="Permanent link">&para;</a></h2>
15641564
<p>There are various ways to generate a TRON network account, here we will demonstrate how to generate an account using wallet-cli. An account is a pair of keys (public and private keys).</p>
15651565
<p>Enter the command <code>java -jar wallet-cli.jar</code> in the terminal to start a wallet-cli:
15661566
<div class="highlight"><pre><span></span><code>$ java -jar wallet-cli.jar

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,158 +2,158 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://tronprotocol.github.io/documentation-en/</loc>
5-
<lastmod>2025-04-30</lastmod>
5+
<lastmod>2025-05-09</lastmod>
66
</url>
77
<url>
88
<loc>https://tronprotocol.github.io/documentation-en/glossary/</loc>
9-
<lastmod>2025-04-30</lastmod>
9+
<lastmod>2025-05-09</lastmod>
1010
</url>
1111
<url>
1212
<loc>https://tronprotocol.github.io/documentation-en/api/http/</loc>
13-
<lastmod>2025-04-30</lastmod>
13+
<lastmod>2025-05-09</lastmod>
1414
</url>
1515
<url>
1616
<loc>https://tronprotocol.github.io/documentation-en/api/json-rpc/</loc>
17-
<lastmod>2025-04-30</lastmod>
17+
<lastmod>2025-05-09</lastmod>
1818
</url>
1919
<url>
2020
<loc>https://tronprotocol.github.io/documentation-en/api/rpc/</loc>
21-
<lastmod>2025-04-30</lastmod>
21+
<lastmod>2025-05-09</lastmod>
2222
</url>
2323
<url>
2424
<loc>https://tronprotocol.github.io/documentation-en/architecture/database/</loc>
25-
<lastmod>2025-04-30</lastmod>
25+
<lastmod>2025-05-09</lastmod>
2626
</url>
2727
<url>
2828
<loc>https://tronprotocol.github.io/documentation-en/architecture/event/</loc>
29-
<lastmod>2025-04-30</lastmod>
29+
<lastmod>2025-05-09</lastmod>
3030
</url>
3131
<url>
3232
<loc>https://tronprotocol.github.io/documentation-en/clients/wallet-cli/</loc>
33-
<lastmod>2025-04-30</lastmod>
33+
<lastmod>2025-05-09</lastmod>
3434
</url>
3535
<url>
3636
<loc>https://tronprotocol.github.io/documentation-en/contracts/contract/</loc>
37-
<lastmod>2025-04-30</lastmod>
37+
<lastmod>2025-05-09</lastmod>
3838
</url>
3939
<url>
4040
<loc>https://tronprotocol.github.io/documentation-en/contracts/tools/</loc>
41-
<lastmod>2025-04-30</lastmod>
41+
<lastmod>2025-05-09</lastmod>
4242
</url>
4343
<url>
4444
<loc>https://tronprotocol.github.io/documentation-en/developers/advanced-configuration/</loc>
45-
<lastmod>2025-04-30</lastmod>
45+
<lastmod>2025-05-09</lastmod>
4646
</url>
4747
<url>
4848
<loc>https://tronprotocol.github.io/documentation-en/developers/archive-manifest/</loc>
49-
<lastmod>2025-04-30</lastmod>
49+
<lastmod>2025-05-09</lastmod>
5050
</url>
5151
<url>
5252
<loc>https://tronprotocol.github.io/documentation-en/developers/code-structure/</loc>
53-
<lastmod>2025-04-30</lastmod>
53+
<lastmod>2025-05-09</lastmod>
5454
</url>
5555
<url>
5656
<loc>https://tronprotocol.github.io/documentation-en/developers/demo/</loc>
57-
<lastmod>2025-04-30</lastmod>
57+
<lastmod>2025-05-09</lastmod>
5858
</url>
5959
<url>
6060
<loc>https://tronprotocol.github.io/documentation-en/developers/deployment/</loc>
61-
<lastmod>2025-04-30</lastmod>
61+
<lastmod>2025-05-09</lastmod>
6262
</url>
6363
<url>
6464
<loc>https://tronprotocol.github.io/documentation-en/developers/governance/</loc>
65-
<lastmod>2025-04-30</lastmod>
65+
<lastmod>2025-05-09</lastmod>
6666
</url>
6767
<url>
6868
<loc>https://tronprotocol.github.io/documentation-en/developers/issue-workflow/</loc>
69-
<lastmod>2025-04-30</lastmod>
69+
<lastmod>2025-05-09</lastmod>
7070
</url>
7171
<url>
7272
<loc>https://tronprotocol.github.io/documentation-en/developers/java-tron/</loc>
73-
<lastmod>2025-04-30</lastmod>
73+
<lastmod>2025-05-09</lastmod>
7474
</url>
7575
<url>
7676
<loc>https://tronprotocol.github.io/documentation-en/developers/run-in-idea/</loc>
77-
<lastmod>2025-04-30</lastmod>
77+
<lastmod>2025-05-09</lastmod>
7878
</url>
7979
<url>
8080
<loc>https://tronprotocol.github.io/documentation-en/developers/tips/</loc>
81-
<lastmod>2025-04-30</lastmod>
81+
<lastmod>2025-05-09</lastmod>
8282
</url>
8383
<url>
8484
<loc>https://tronprotocol.github.io/documentation-en/getting_started/getting_started_with_javatron/</loc>
85-
<lastmod>2025-04-30</lastmod>
85+
<lastmod>2025-05-09</lastmod>
8686
</url>
8787
<url>
8888
<loc>https://tronprotocol.github.io/documentation-en/mechanism-algorithm/account/</loc>
89-
<lastmod>2025-04-30</lastmod>
89+
<lastmod>2025-05-09</lastmod>
9090
</url>
9191
<url>
9292
<loc>https://tronprotocol.github.io/documentation-en/mechanism-algorithm/dex/</loc>
93-
<lastmod>2025-04-30</lastmod>
93+
<lastmod>2025-05-09</lastmod>
9494
</url>
9595
<url>
9696
<loc>https://tronprotocol.github.io/documentation-en/mechanism-algorithm/dpos/</loc>
97-
<lastmod>2025-04-30</lastmod>
97+
<lastmod>2025-05-09</lastmod>
9898
</url>
9999
<url>
100100
<loc>https://tronprotocol.github.io/documentation-en/mechanism-algorithm/multi-signatures/</loc>
101-
<lastmod>2025-04-30</lastmod>
101+
<lastmod>2025-05-09</lastmod>
102102
</url>
103103
<url>
104104
<loc>https://tronprotocol.github.io/documentation-en/mechanism-algorithm/resource/</loc>
105-
<lastmod>2025-04-30</lastmod>
105+
<lastmod>2025-05-09</lastmod>
106106
</url>
107107
<url>
108108
<loc>https://tronprotocol.github.io/documentation-en/mechanism-algorithm/shielded-transaction/</loc>
109-
<lastmod>2025-04-30</lastmod>
109+
<lastmod>2025-05-09</lastmod>
110110
</url>
111111
<url>
112112
<loc>https://tronprotocol.github.io/documentation-en/mechanism-algorithm/sr/</loc>
113-
<lastmod>2025-04-30</lastmod>
113+
<lastmod>2025-05-09</lastmod>
114114
</url>
115115
<url>
116116
<loc>https://tronprotocol.github.io/documentation-en/mechanism-algorithm/system-contracts/</loc>
117-
<lastmod>2025-04-30</lastmod>
117+
<lastmod>2025-05-09</lastmod>
118118
</url>
119119
<url>
120120
<loc>https://tronprotocol.github.io/documentation-en/releases/history/</loc>
121-
<lastmod>2025-04-30</lastmod>
121+
<lastmod>2025-05-09</lastmod>
122122
</url>
123123
<url>
124124
<loc>https://tronprotocol.github.io/documentation-en/releases/signature_verification/</loc>
125-
<lastmod>2025-04-30</lastmod>
125+
<lastmod>2025-05-09</lastmod>
126126
</url>
127127
<url>
128128
<loc>https://tronprotocol.github.io/documentation-en/releases/upgrade-instruction/</loc>
129-
<lastmod>2025-04-30</lastmod>
129+
<lastmod>2025-05-09</lastmod>
130130
</url>
131131
<url>
132132
<loc>https://tronprotocol.github.io/documentation-en/using_javatron/backup_restore/</loc>
133-
<lastmod>2025-04-30</lastmod>
133+
<lastmod>2025-05-09</lastmod>
134134
</url>
135135
<url>
136136
<loc>https://tronprotocol.github.io/documentation-en/using_javatron/connecting_to_tron/</loc>
137-
<lastmod>2025-04-30</lastmod>
137+
<lastmod>2025-05-09</lastmod>
138138
</url>
139139
<url>
140140
<loc>https://tronprotocol.github.io/documentation-en/using_javatron/installing_javatron/</loc>
141-
<lastmod>2025-04-30</lastmod>
141+
<lastmod>2025-05-09</lastmod>
142142
</url>
143143
<url>
144144
<loc>https://tronprotocol.github.io/documentation-en/using_javatron/litefullnode/</loc>
145-
<lastmod>2025-04-30</lastmod>
145+
<lastmod>2025-05-09</lastmod>
146146
</url>
147147
<url>
148148
<loc>https://tronprotocol.github.io/documentation-en/using_javatron/metrics/</loc>
149-
<lastmod>2025-04-30</lastmod>
149+
<lastmod>2025-05-09</lastmod>
150150
</url>
151151
<url>
152152
<loc>https://tronprotocol.github.io/documentation-en/using_javatron/private_network/</loc>
153-
<lastmod>2025-04-30</lastmod>
153+
<lastmod>2025-05-09</lastmod>
154154
</url>
155155
<url>
156156
<loc>https://tronprotocol.github.io/documentation-en/using_javatron/toolkit/</loc>
157-
<lastmod>2025-04-30</lastmod>
157+
<lastmod>2025-05-09</lastmod>
158158
</url>
159159
</urlset>

sitemap.xml.gz

-2 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)