How to create a new Swirlds app in Eclipse

These versions (or later) should be downloaded and installed: To create a new app, copy the HelloSwirldsDemo folder and everything in it to a new folder with the appropriate name. In this example, the new folder will be called ExampleApp. The folder can be anywhere, but there are some advantages to having it somewhere under the Eclipse workspace directory. Two directory levels above ExampleApp will be the Swirlds browser (named swirlds.jar) and possibly a file named config.txt In this example, the files will be at:
    workspace/git/swirlds/sdk/source/ExampleApp
    workspace/git/swirlds/sdk/swirlds.jar
    workspace/git/swirlds/sdk/config.txt
This example will use slashes in paths, but on Windows they will be backslashes. After copying and renaming the folder, do the following:

If there is a config.txt file in the same directory as swirlds.jar, then the new ExampleApp should run. It should look exactly like the HelloSwirldDemo app. If there are any problems, see How To Run Apps.

At this point, the new app is ready for code development.

Back