You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you need any help, please join the [Telegram](https://t.me/TronOfficialDevelopersGroupEn)
5
+
Wallet-cli now supports [GasFree](https://gasfree.io) addresses, enable users to transfer tokens without paying gas fees. For more details, please check the [GasFree](#Gas-Free-Support) section below.
6
+
7
+
The underlying implementation of all Wallet-cli gRPC APIs has all migrated to the [Trident SDK](https://github.com/tronprotocol/trident). This strategic move consolidates the underlying implementation of the Wallet-cli's remote procedure calls, standardizing them under the robust and optimized Trident framework.
8
+
9
+
If you need any help, please join the [Telegram](https://t.me/TronOfficialDevelopersGroupEn).
# If gRPC requests on the main network are limited in speed, you can apply for an apiKey of Trongrid to improve the user experience
64
+
grpc = {
65
+
mainnet = {
66
+
apiKey = ""
67
+
}
68
+
}
36
69
37
-
blockNumberStartToScan = 22690588 // NOTE: this field is optional
38
70
```
39
71
40
72
### Run a web wallet
41
73
42
-
- connect to fullNode and solidityNode
74
+
- connect to fullNode
43
75
44
76
Take a look at: [java-tron deployment](https://tronprotocol.github.io/documentation-en/developers/deployment/)
45
-
Run both fullNode and solidity node in either your local PC or remote server.
77
+
Run fullNode on either your local PC or a remote server.
46
78
47
-
NOTE: These nodes would consume a lot of memory and CPU. Please be aware if you do not use wallet, just kill them.
48
79
- compile and run web wallet
49
80
50
81
```console
@@ -54,15 +85,16 @@ blockNumberStartToScan = 22690588 // NOTE: this field is optional
54
85
$ java -jar wallet-cli.jar
55
86
```
56
87
57
-
### Connect to java-tron
88
+
### Connect to Java-tron
58
89
59
-
Wallet-cli connect to java-tron via gRPC protocol, which can be deployed locally or remotely. Check **Run a web Wallet** section.
60
-
We can configure java-tron node IP and port in ``src/main/resources/config.conf``, so that wallet-cli server can successfully talk to java-tron nodes.
90
+
Wallet-cli connects to Java-tron via the gRPC protocol, which can be deployed locally or remotely. Check **Run a web Wallet** section.
91
+
We can configure Java-tron node IP and port in ``src/main/resources/config.conf``, so that wallet-cli server can successfully talk to java-tron nodes.
92
+
Besides that, you can simply use `SwitchNetwork` command to switch among the mainnet, testnets(Nile and Shasta) and custom networks. Please refer to the Switch Network section.
61
93
62
94
## Wallet-cli supported command list
63
95
64
96
Following is a list of Tron Wallet-cli commands:
65
-
For more information on a specific command, just type the command on terminal when you start your Wallet.
97
+
For more information on a specific command, just type the command in the terminal when you start your Wallet.
Type any one of the listed commands, to display how-to tips.
@@ -1801,7 +1834,7 @@ unlock successful !!!
1801
1834
1802
1835
## switch network
1803
1836
> SwitchNetwork
1804
-
>This command allows for flexible network switching at any time. Unlocking can specify parameters in seconds.
1837
+
>This command allows for flexible network switching at any time.
1805
1838
>`switchnetwork local` will switch to the network configured in local config.conf.
1806
1839
1807
1840
Example:
@@ -1842,10 +1875,22 @@ wallet> currentnetwork
1842
1875
current network: CUSTOM
1843
1876
fullNode: EMPTY, solidityNode: localhost:50052
1844
1877
```
1878
+
## Gas Free Support
1879
+
1880
+
Wallet-cli now supports GasFree integration. This guide explains the new commands and provides instructions on how to use them.
1845
1881
1846
-
## gas free info
1847
-
> GasFreeInfo
1848
-
>Get gasfree info of the current address.
1882
+
For more details, please refer to [GasFree Documentation](https://gasfree.io/specification) and [TronLink User Guide For GasFree](https://support.tronlink.org/hc/en-us/articles/38903684778393-GasFree-User-Guide).
1883
+
1884
+
Prerequisites
1885
+
API Credentials: Users must obtain the API Key and API Secret from GasFree for authentication. Please refer to the official [application form](https://docs.google.com/forms/d/e/1FAIpQLSc5EB1X8JN7LA4SAVAG99VziXEY6Kv6JxmlBry9rUBlwI-GaQ/viewform) for instructions on setting up API authentication.
1886
+
1887
+
New Commands:
1888
+
1889
+
### Gas Free info
1890
+
> GasFreeInfo
1891
+
Query GasFree Information
1892
+
Function: Retrieve the basic info, including the GasFree address associated with your current wallet address.
1893
+
Note: The GasFree address is automatically activated upon the first transfer, which may incur an activation fee.
Function: Submit a gas-free token transfer request.
1882
1927
1883
1928
Example:
1884
1929
```console
@@ -1910,9 +1955,10 @@ GasFreeTransfer result: {
1910
1955
GasFreeTransfer successful !!!
1911
1956
```
1912
1957
1913
-
## gas free trace
1914
-
> GasFreeTrace
1915
-
>Query GasFreeTrace to obtain transfer details by using the transaction ID returned by GasFreeTransfer as the traceId.
1958
+
### Gas Free trace
1959
+
> GasFreeTrace
1960
+
Track Transfer Status
1961
+
Function: Check the progress of a GasFree transfer using the traceId obtained from GasFreeTransfer.
1916
1962
1917
1963
Example:
1918
1964
```console
@@ -2056,6 +2102,51 @@ Example:
2056
2102
> UpdateAccount test-name
2057
2103
```
2058
2104
2105
+
### Modify wallet name
2106
+
> ModifyWalletName new_wallet_name
2107
+
2108
+
Modify wallet's name.
2109
+
2110
+
Example:
2111
+
```console
2112
+
wallet> ModifyWalletName new-name
2113
+
Modify Wallet Name successful !!
2114
+
```
2115
+
2116
+
### View backup records
2117
+
> ViewBackupRecords
2118
+
2119
+
View backup records. You can configure the maximum number of records that `maxRecords` can retain in `config.conf`, excluding the number of buffer records.
2120
+
2121
+
Example:
2122
+
```console
2123
+
wallet> ViewBackupRecords
2124
+
2125
+
=== View Backup Records ===
2126
+
1. View all records
2127
+
2. Filter by time range
2128
+
Choose an option (1-2): 1
2129
+
```
2130
+
### View transaction history
2131
+
> ViewTransactionHistory
2132
+
2133
+
View transaction history. You can configure the maximum number of records that `maxRecords` can retain in `config.conf`, excluding the number of buffer records.
0 commit comments