From 2592543a1e3ac95f8e261b1660501c08fd145da1 Mon Sep 17 00:00:00 2001 From: satan Date: Wed, 6 Dec 2023 17:03:31 +0800 Subject: [PATCH 1/4] feat: update version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 41d7fb22..1549eb46 100644 --- a/README.md +++ b/README.md @@ -185,7 +185,7 @@ Contact the team at https://cn.developers.tron.network/docs/online-technical-sup ## Recent History -__6.0.0__ +__6.0.0-beta.0__ - Add full type definition for Typescript. - Change Default exports to Named exports. - Change `TronWeb.createRandom(options)` to `TronWeb.createRandom(password, path, wordlist)`. From 21eeccc0496058ca0655877303705dffb7d87104 Mon Sep 17 00:00:00 2001 From: satan Date: Wed, 6 Dec 2023 17:27:40 +0800 Subject: [PATCH 2/4] feat: update readme --- README.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 1549eb46..cb2d772e 100644 --- a/README.md +++ b/README.md @@ -161,14 +161,6 @@ const tronWeb = new TronWeb({ ) ``` -## A full example - -The better way to understand how to work with TronWeb is go to the demo directory in this repository. - -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. - -If you'd like to develop only with tronweb dependency, you could run the demo in path demo/tronweb-demo. - ## Contributions In order to contribute you can @@ -176,9 +168,9 @@ In order to contribute you can * fork this repo and clone it locally * install the dependencies — `npm i` * do your changes to the code -* build the TronWeb dist files — `npm run build` +* build the TronWeb dist files — `npm run build:all` * run a local private network using Tron Quickstart -* run the tests — `npm test:node` +* run the tests — `npm run test` * push your changes and open a pull request Contact the team at https://cn.developers.tron.network/docs/online-technical-support From efddfd8807d996e47a73c9e23aacd33152d91d4f Mon Sep 17 00:00:00 2001 From: satan Date: Wed, 6 Dec 2023 18:42:39 +0800 Subject: [PATCH 3/4] feat: update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cb2d772e..495d02b2 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Any new TRON feature will be incorporated into TronWeb. Changes to the API to im __[tronweb.network](https://tronweb.network)__ ## Compatibility -- Version built for Node.js v6 and above +- Version built for Node.js v14 and above - Version built for browsers with more than 0.25% market share You can access either version specifically from the [dist](dist) folder. From 8cc276c1cd22a191d060f5b5a381b1ca157aedaf Mon Sep 17 00:00:00 2001 From: satan Date: Wed, 6 Dec 2023 18:47:15 +0800 Subject: [PATCH 4/4] feat: update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 495d02b2..e36d5be1 100644 --- a/README.md +++ b/README.md @@ -57,11 +57,11 @@ You can also ship TronWeb in a Chrome extension. ### Node.js ```bash -npm install tronweb +npm install tronweb@beta ``` or ```bash -yarn add tronweb +yarn add tronweb@beta ``` ### Browser