Prerequisites:
-
Clone this project.
-
From the project directory:
mvn install
- From any directory on your filesystem:
mvn archetype:generate -DarchetypeCatalog=local
-
Compile contracts, build project, and install Hyperledger Besu:
mvn clean install
-
Start Hyperledger Besu:
target/besu-1.4.0/bin/besu --config-file=config.toml
-
Wait until you see
Ethereum main loop is up
-
From another terminal at your sample project directory, compile and start your application:
mvn compile exec:java -Dexec.mainClass="com.sample.App"