This demo client will read transactions from Bitcoin blocks on the local system and send the transactions to the UTXO example chaincode for processing. It utilizes the gRPC API for communication between the client and Hypereledger Fabric peer.
Instructions
-
Deploy the UTXO example chaincode
-
Clone this project
git clone https://github.com/srderson/hyperledger-fabric-utxo-client-java.git
cd hyperledger-fabric-utxo-client-java
-
Edit the config.properties file in ./src/main/java/com/github/srderson/hyperledger_fabric_utxo_client_java
-
Build
./gradlew build
-
Copy the config.properties file ./src/main/java/com/github/srderson/hyperledger_fabric_utxo_client_java/config.properties to ./build/classes/main/com/github/srderson/hyperledger_fabric_utxo_client_java/config.properties
-
Start the client
./gradlew run