-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from cocoleecoco/0.2.0
Support for Sophia Smart Contracts
- Loading branch information
Showing
29 changed files
with
3,728 additions
and
871 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Overview | ||
> Java SDK is a Java development kit for PlatON public chain provided by PlatON for Java developers. | ||
# Build | ||
``` | ||
git clone https://github.com/PlatONnetwork/client-sdk-java.git | ||
cd client-sdk-java/ | ||
./gradlew clean jar //Generate jar package | ||
./gradlew clean distZip //Generate code generation skeleton tool | ||
``` | ||
|
||
# Use | ||
|
||
* config maven repository: http://sdk.platon.network/content/groups/public/ | ||
* config maven or gradle in project | ||
|
||
``` | ||
<dependency> | ||
<groupId>com.platon.client</groupId> | ||
<artifactId>core</artifactId> | ||
<version>0.2.0</version> | ||
</dependency> | ||
``` | ||
|
||
or | ||
|
||
``` | ||
compile "com.platon.client:core:0.2.0" | ||
``` | ||
|
||
* use in project | ||
|
||
``` | ||
Web3j web3 = Web3j.build(new HttpService("https://host:port")); | ||
``` | ||
|
||
|
||
# Other | ||
[more reference wiki](https://github.com/PlatONnetwork/wiki/wiki) |
Oops, something went wrong.