This artifact provides a mechanism to connect client applications to Hyperledger Besu Network using a REST-based API interface.
Additionally, it can also provide event-handling to Kafka/Event-Hub topics.
- Java-8 and Maven is installed.
- Besu binaries are installed and path variable is set.
- Download/Clone the repository and build the project using mvn clean install.
- Give file writing permissions to shell scripts inside the scripts/ folder using
chmod +x *filename.sh*
. For example, inside the scripts folder, use this command -chmod +x setup.sh
to spin up the test network.
Note : Before deploying contract on the network, compile the smart contract outside the code
Pre-requisite : Install Solidity compiler on the machine.
- Place the solidity contract inside this repository
- Run below command
solc --bin <filename>.sol --abi --optimize -o contracts`
- Copy the .abi file from the "contracts" folder into the resources