@@ -7,13 +7,13 @@ A SDK toolkit for client to call VeChainThor Restful API.
77Requires JDK8.
88
99- - - -
10- latest version 0.0.9
10+ latest version 0.0.10
1111
1212- - - -
1313default package jar without dependencies,use -Pall to build all in one jar
1414
1515## License
16- Thor Java Client SDK is licensed under the GNU Lesser General Public License v3.0 , also included in LICENSE file in repository.
16+ Thor Java Client SDK is licensed under the MIT LICENSE , also included in LICENSE file in the repository.
1717- - - -
1818
1919## Set blockchain nodes provider
@@ -845,7 +845,7 @@ Package the jar with maven
845845```
846846mvn clean package -Dmaven.test.skip=true
847847
848- The maven will generate the jar file in folder target: thor-client-sdk4j-0.0.9 .jar
848+ The maven will generate the jar file in folder target: thor-client-sdk4j-0.0.10 .jar
849849
850850```
851851
@@ -857,9 +857,9 @@ There is a example transaction file in src/main/resources/exchange_example.xlsx,
857857
858858```
859859
860- java -jar thor-client-sdk4j-0.0.9 .jar getChainTag {blockchain-server-url}
860+ java -jar thor-client-sdk4j-0.0.10 .jar getChainTag {blockchain-server-url}
861861
862- eg. java -jar thor-client-sdk4j-0.0.9 .jar getChainTag http://localhost:8669
862+ eg. java -jar thor-client-sdk4j-0.0.10 .jar getChainTag http://localhost:8669
863863
864864ChainTag:
8658650x27
@@ -870,9 +870,9 @@ ChainTag:
870870#### Get blockRef:
871871
872872```
873- java -jar thor-client-sdk4j-0.0.9 .jar getBlockRef {blockchain-server-url}
873+ java -jar thor-client-sdk4j-0.0.10 .jar getBlockRef {blockchain-server-url}
874874
875- eg. java -jar thor-client-sdk4j-0.0.9 .jar getBlockRef http://localhost:8669
875+ eg. java -jar thor-client-sdk4j-0.0.10 .jar getBlockRef http://localhost:8669
876876
877877BlockRef:
8788780x0000695540f491a5
@@ -882,9 +882,9 @@ BlockRef:
882882#### Create wallet:
883883
884884```
885- java -jar thor-client-sdk4j-0.0.9 .jar createWallet {wallet-password} {keystore-file-path}(optional, defalut: ./keystore.json)
885+ java -jar thor-client-sdk4j-0.0.10 .jar createWallet {wallet-password} {keystore-file-path}(optional, defalut: ./keystore.json)
886886
887- eg. java -jar thor-client-sdk4j-0.0.9 .jar createWallet <your password> <keystore-file-path>
887+ eg. java -jar thor-client-sdk4j-0.0.10 .jar createWallet <your password> <keystore-file-path>
888888
889889The keystore.json file will generate in current folder.
890890
@@ -922,9 +922,9 @@ The wallet created successfully and the key store is:
922922#### Get block:
923923
924924```
925- java -jar thor-client-sdk4j-0.0.9 .jar getBlock {blockchain-server-url}
925+ java -jar thor-client-sdk4j-0.0.10 .jar getBlock {blockchain-server-url}
926926
927- eg. java -jar thor-client-sdk4j-0.0.9 .jar getBlock http://localhost:8669
927+ eg. java -jar thor-client-sdk4j-0.0.10 .jar getBlock http://localhost:8669
928928
929929Block:
930930{
@@ -953,9 +953,9 @@ Block:
953953
954954```
955955
956- java -jar thor-client-sdk4j-0.0.9 .jar getTransaction {transaction-id} {blockchain-server-url}
956+ java -jar thor-client-sdk4j-0.0.10 .jar getTransaction {transaction-id} {blockchain-server-url}
957957
958- eg. java -jar thor-client-sdk4j-0.0.9 .jar getTransaction 0x19dd77d28ef70be8c924319a6c08b996dd456fa36f29f2427dbda90087a8a897 http://localhost:8669
958+ eg. java -jar thor-client-sdk4j-0.0.10 .jar getTransaction 0x19dd77d28ef70be8c924319a6c08b996dd456fa36f29f2427dbda90087a8a897 http://localhost:8669
959959
960960Transaction:
961961{
@@ -978,9 +978,9 @@ Transaction:
978978
979979```
980980
981- java -jar thor-client-sdk4j-0.0.9 .jar getTransactionReceipt {transaction-id} {blockchain-server-url}
981+ java -jar thor-client-sdk4j-0.0.10 .jar getTransactionReceipt {transaction-id} {blockchain-server-url}
982982
983- eg. java -jar thor-client-sdk4j-0.0.9 .jar getTransactionReceipt 0x6b99c0f1ebfa3b9d93dcfc503f468104ac74271728841551aaa44115d080f5b5 http://localhost:8669
983+ eg. java -jar thor-client-sdk4j-0.0.10 .jar getTransactionReceipt 0x6b99c0f1ebfa3b9d93dcfc503f468104ac74271728841551aaa44115d080f5b5 http://localhost:8669
984984
985985Receipt:
986986{
@@ -1017,9 +1017,9 @@ Receipt:
10171017#### Sign transactions:
10181018
10191019```
1020- java -jar thor-client-sdk4j-0.0.9 .jar sign {your-file-path} {privateKey}
1020+ java -jar thor-client-sdk4j-0.0.10 .jar sign {your-file-path} {privateKey}
10211021
1022- eg. java -jar thor-client-sdk4j-0.0.9 .jar sign src/main/resources/exchange_example.xlsx 0xe0b80216ba7b880d85966b38fcd8f7253882bb1386b68b33a8e0b60775e947c0
1022+ eg. java -jar thor-client-sdk4j-0.0.10 .jar sign src/main/resources/exchange_example.xlsx 0xe0b80216ba7b880d85966b38fcd8f7253882bb1386b68b33a8e0b60775e947c0
10231023
10241024Raw Transaction:
102510250xf8a3819a8702819f5cfc12d38202d0f842e094d3ef28df6b553ed2fc47259e8134319cb1121a2a89364200111c48f8000080e094d3ef28df6b553ed2fc47259e8134319cb1121a2a89364200111c48f80000808082a4108088f06f91293e58610dc0b84173346fba62605d510895a0d240b89a38e0b87fd8a58df2ce17075cd493e8e316528b4ed0f049cef1710936bbd4bd3af23eb3ffb3740dc0fb59db585714dbeaa001
@@ -1028,9 +1028,9 @@ Raw Transaction:
10281028#### Sign VTHO transactions:
10291029
10301030```
1031- java -jar thor-client-sdk4j-0.0.9 .jar signVTHO {your-file-path} {privateKey}
1031+ java -jar thor-client-sdk4j-0.0.10 .jar signVTHO {your-file-path} {privateKey}
10321032
1033- eg. java -jar thor-client-sdk4j-0.0.9 .jar signVTHO src/main/resources/exchange_example.xlsx 0xdce1443bd2ef0c2631adc1c67e5c93f13dc23a41c18b536effbbdcbcdb96fb65
1033+ eg. java -jar thor-client-sdk4j-0.0.10 .jar signVTHO src/main/resources/exchange_example.xlsx 0xdce1443bd2ef0c2631adc1c67e5c93f13dc23a41c18b536effbbdcbcdb96fb65
10341034
10351035Raw Transaction:
103610360xf9011d81c787015e41be43bb958202d0f8bcf85c940000000000000000000000000000456e6572677980b844a9059cbb000000000000000000000000d3ef28df6b553ed2fc47259e8134319cb1121a2a0000000000000000000000000000000000000000000027cf801b9d4f7d800000f85c940000000000000000000000000000456e6572677980b844a9059cbb000000000000000000000000f881a94423f22ee9a0e3e1442f515f43c966b7ed0000000000000000000000000000000000000000000027cf801b9d4f7d8000008082a41080887650b326b78e0c57c0b841fe27b8866d8a658a66a2d8241a310d1ef72e2954d397fc52aa5b4295f9686d0f6705301acc9a0aac6e9e0f93e3aa6fe0a07ff48e4e3287d0db45905d8a0756eb01
@@ -1041,9 +1041,9 @@ Raw Transaction:
10411041
10421042```
10431043
1044- java -jar thor-client-sdk4j-0.0.9 .jar signAndSend {blockchain-server-url} {privateKey} {your-file-path}
1044+ java -jar thor-client-sdk4j-0.0.10 .jar signAndSend {blockchain-server-url} {privateKey} {your-file-path}
10451045
1046- eg. java -jar thor-client-sdk4j-0.0.9 .jar signAndSend http://localhost:8669 0xe0b80216ba7b880d85966b38fcd8f7253882bb1386b68b33a8e0b60775e947c0 src/main/resources/exchange_example.xlsx
1046+ eg. java -jar thor-client-sdk4j-0.0.10 .jar signAndSend http://localhost:8669 0xe0b80216ba7b880d85966b38fcd8f7253882bb1386b68b33a8e0b60775e947c0 src/main/resources/exchange_example.xlsx
10471047
10481048Send Result:
10491049{"id":"0xd751c50b81c1f13ebd86f4fcd0028a501b6c792fa8b5bbf64028b924a6b2efc9"}
@@ -1056,9 +1056,9 @@ Send Result:
10561056
10571057```
10581058
1059- java -jar thor-client-sdk4j-0.0.9 .jar sendRaw {blockchain-server-url} {raw}
1059+ java -jar thor-client-sdk4j-0.0.10 .jar sendRaw {blockchain-server-url} {raw}
10601060
1061- eg. java -jar thor-client-sdk4j-0.0.9 .jar sendRaw http://localhost:8669 0xf8a3819a8702819f5cfc12d38202d0f842e094d3ef28df6b553ed2fc47259e8134319cb1121a2a89364200111c48f8000080e094d3ef28df6b553ed2fc47259e8134319cb1121a2a89364200111c48f80000808082a4108088f06f91293e58610dc0b84173346fba62605d510895a0d240b89a38e0b87fd8a58df2ce17075cd493e8e316528b4ed0f049cef1710936bbd4bd3af23eb3ffb3740dc0fb59db585714dbeaa001
1061+ eg. java -jar thor-client-sdk4j-0.0.10 .jar sendRaw http://localhost:8669 0xf8a3819a8702819f5cfc12d38202d0f842e094d3ef28df6b553ed2fc47259e8134319cb1121a2a89364200111c48f8000080e094d3ef28df6b553ed2fc47259e8134319cb1121a2a89364200111c48f80000808082a4108088f06f91293e58610dc0b84173346fba62605d510895a0d240b89a38e0b87fd8a58df2ce17075cd493e8e316528b4ed0f049cef1710936bbd4bd3af23eb3ffb3740dc0fb59db585714dbeaa001
10621062
10631063Send Result:
10641064{"id":"0xd751c50b81c1f13ebd86f4fcd0028a501b6c792fa8b5bbf64028b924a6b2efc9"}
0 commit comments