How to implement your well designed CorDapp

September 07, 2020

Image for post

Customize the Badge project from template CorDapp

Image for post

Image for post

Network Participants

Image for post

The State

The Contract

Unit test for States & Contract

The Flows

 1. Issue flow that issues the badge
 2. Show flow that display the badge while the badge still has available show counts.

Unit test for the Flows

Running the Badge CorDapp

./gradlew deployNodes
./build/nodes/runnodes