This is a version of the example CorDapp that has been adapted for use on networks with limited connectivity to the outside world.
This CorDapp template works identically to the online version, except that:
- The dependencies must be gathered before use
- The
deployNodes
tasks must be run in offline mode
You must complete this step before using the template in an offline environment. This step requires being online.
Once online, run the following command from the root of the project:
./gradlew gatherDependencies
This will gather all the dependencies required to run the template offline into the lib/dependencies/
folder.
The deployNodes
tasks must be run with the -Poffline=true
flag.