Skip to content

Commit f1d180c

Browse files
authored
Merge pull request #462 from tronprotocol/release/v6.0.0
feat: update version
2 parents 0bf6b39 + 8cc276c commit f1d180c

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Any new TRON feature will be incorporated into TronWeb. Changes to the API to im
4141
__[tronweb.network](https://tronweb.network)__
4242

4343
## Compatibility
44-
- Version built for Node.js v6 and above
44+
- Version built for Node.js v14 and above
4545
- Version built for browsers with more than 0.25% market share
4646

4747
You can access either version specifically from the [dist](dist) folder.
@@ -57,11 +57,11 @@ You can also ship TronWeb in a Chrome extension.
5757

5858
### Node.js
5959
```bash
60-
npm install tronweb
60+
npm install tronweb@beta
6161
```
6262
or
6363
```bash
64-
yarn add tronweb
64+
yarn add tronweb@beta
6565
```
6666

6767
### Browser
@@ -161,31 +161,23 @@ const tronWeb = new TronWeb({
161161
)
162162
```
163163

164-
## A full example
165-
166-
The better way to understand how to work with TronWeb is go to the demo directory in this repository.
167-
168-
If you'd like to connect with tronlink app and chrome extention and develop a dapp on tron, you could run the demo in path demo/tron-dapp-react-demo.
169-
170-
If you'd like to develop only with tronweb dependency, you could run the demo in path demo/tronweb-demo.
171-
172164
## Contributions
173165

174166
In order to contribute you can
175167

176168
* fork this repo and clone it locally
177169
* install the dependencies — `npm i`
178170
* do your changes to the code
179-
* build the TronWeb dist files — `npm run build`
171+
* build the TronWeb dist files — `npm run build:all`
180172
* run a local private network using Tron Quickstart
181-
* run the tests — `npm test:node`
173+
* run the tests — `npm run test`
182174
* push your changes and open a pull request
183175

184176
Contact the team at https://cn.developers.tron.network/docs/online-technical-support
185177

186178
## Recent History
187179

188-
__6.0.0__
180+
__6.0.0-beta.0__
189181
- Add full type definition for Typescript.
190182
- Change Default exports to Named exports.
191183
- Change `TronWeb.createRandom(options)` to `TronWeb.createRandom(password, path, wordlist)`.

0 commit comments

Comments
 (0)