Skip to content

Creating application

One of sunodo's goal is to be the easiest way to create new Cartesi DApps from scratch.

To create a new application from a basic javascript template, run:

shell
$ sunodo create my-app --template javascript
 Application created at my-app
$ sunodo create my-app --template javascript
 Application created at my-app

This will create a new directory called my-app with a basic javascript nodejs template, with the following files:

  • Dockerfile: The Dockerfile used to build the application.
  • README.md: general guidance to how go from there
  • package.json: the application's package.json file with basic dependencies
  • src/index.js: the application entrypoint

To build the application for the first time, follow the building guide. To learn more about other templates, follow to the available templates section.