This project is java toolkit for fabric and white pin chaincode.
- maven
...
<repositories>
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com/</url>
</repository>
</repositories>
...
<dependencies>
<dependency>
<groupId>com.github.white-pin</groupId>
<artifactId>whitepin-sdk-java</artifactId>
<version>0.0.1</version>
</dependency>
</dependencies>
- gradle
...
repositories {
jcenter()
}
...
dependencies {
compile 'com.github.white-pin:whitepin-sdk-java:0.0.1'
}
- FabricCaClient
- wrapper of HFCAClient.java
- management of affiliation
- management of identity
- FabricChannelClient
- wrapper of HFClient.java
- create a channel (request to orderer)
- build Channel.java about existing channel
- FabricChaincodeClient
- wrapper of HFClient.java
- invoke and query for instantiated chaincode
- Whitepin chaincode
- invoke and query for instantiated whitepin chaincode
-
FabricCertClient
-
start ca server
$ src/test/fixture/certintegration/whitepin.sh restart
-
run com.github.whitepin.sdk.integration.FabricCertClientIT
-
FabricChannelClient
-
start orderers, peers
$ src/test/fixture/channelintegration/whitepin.sh restart
- run com.github.whitepin.sdk.integration.FabricChannelClientIT