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
Copy file name to clipboardExpand all lines: README.md
+76-31Lines changed: 76 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,24 @@
1
-
# wallet-cli
1
+
# Wallet-cli
2
2
3
-
Welcome to use the Wallet-CLI.
3
+
Welcome to use the Wallet-cli.
4
4
5
-
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.
Wallet-cli now supports GasFree integration. This guide explains the new commands and provides instructions on how to use them.
1880
+
1881
+
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).
1845
1882
1846
-
## gas free info
1847
-
> GasFreeInfo
1848
-
>Get gasfree info of the current address.
1883
+
Prerequisites
1884
+
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.
1885
+
1886
+
New Commands:
1887
+
1888
+
### Gas Free info
1889
+
> GasFreeInfo
1890
+
Query GasFree Information
1891
+
Function: Retrieve the basic info, including the GasFree address associated with your current wallet address.
1892
+
Note: The GasFree address is automatically activated upon the first transfer, which may incur an activation fee.
0 commit comments