Part 3: creating a DApp
In the third part of the Midnight developer tutorial, you will:
- Write a contract that works with both public and private data
- Fill in the missing parts of the DApp code, to create a complete and working DApp
- Run a Midnight node that is disconnected from the Midnight Testnet, for testing purposes
- Switch from a test configuration to a production configuration and use your new DApp on Testnet.
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.
Finally, we discuss some additional steps that developers should take in a serious deployment to ensure the longevity of their DApp.