Skip to main content

Part 3: creating a DApp

In the third part of the Midnight developer tutorial, you will:

  1. Write a contract that works with both public and private data
  2. Fill in the missing parts of the DApp code, to create a complete and working DApp
  3. Run a Midnight node that is disconnected from the devnet, for testing purposes
  4. Switch from a test configuration to a production configuration and use your new DApp on the devnet.

The example throughout part 3 is still simple, but more realistic in its scope than the counter DApp of part 2. Most importantly, it relies on Midnight's ability to use private data in public contracts, while shielding the private data by keeping it entirely local.