Skip to content

codeBigInt/midnight-simplified-tutorial-dapps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Midnight Simplified — Tutorial dApps Collection

A curated collection of simple, beginner-friendly decentralized applications (dApps) built using the Compact smart contract language on the Midnight blockchain.

This repository is part of the Midnight Simplified YouTube series, where each episode introduces new Midnight concepts through practical, real-world mini-projects. Every project in this repo is intentionally small, easy to understand, and focused on one core learning goal.


🎯 Project Purpose

The goal of the Midnight Simplified Tutorial dApps repo is to:

  • Help new developers learn Compact through hands-on examples
  • Demonstrate best practices for building private, secure smart contracts
  • Provide reference code for anyone exploring the Midnight ecosystem
  • Serve as starter templates for future hackathons, workshops, and demos
  • Make Midnight development as easy and accessible as possible

📂 Repository Structure

Each project has:

  • Its own folder

  • A smart contract written in Compact

  • Helper modules when needed

  • Frontend/UI integration examples (optional)

  • A README explaining:

    • What the project does
    • What concepts it teaches
    • How to deploy it
    • How to extend it
midnight-simplified-tutorial-dapps/
│
├── tweet-socialfi/
│   ├── contract/
│   ├── helpers/
│   ├── README.md
│   └── ...
│
├── (upcoming dApps...)
│   ├── ...
│
└── README.md  ← you are here

📘 List of Tutorial Projects

1️⃣ Tweet SocialFi (Completed)

A privacy-preserving micro-tweeting social protocol with:

  • Tweet creation & editing
  • Anonymous likes via Merkle commitments
  • Earnings from engagement
  • Tweet promotion
  • Secure, private user identity generation

This is the first dApp in the series and introduces:

  • Maps
  • Merkle trees
  • Witness functions
  • Sealed ledgers
  • Token transfers
  • Private identity generation
  • Opaque data types
  • Basic smart contract architecture

📚 Upcoming Projects

More tutorial dApps will be added as the YouTube series progresses. Planned examples include:

  • Anonymous Polling System
  • Privacy-Preserving Crowdfunding
  • Decentralized Task Board
  • Encrypted Messaging dApp
  • Micro-Escrow Protocol
  • Private Profile / Reputation System
  • Onchain Notebook with Access Control
  • Simple Marketplace
  • Anonymous Tip Jar dApp

(The exact list may vary depending on tutorial direction.)


🛠 How to Use This Repo

  1. Clone the repository
  2. Open any project folder
  3. Read that project’s README
  4. Follow the deployment steps
  5. Use the code as reference for your own Midnight projects

This repo works great for:

  • Self-learning
  • Teaching students
  • Hackathon beginners
  • Code-along sessions
  • Inspiration for new Midnight dApps

🎥 Midnight Simplified YouTube Series

All dApps in this repo are demonstrated step-by-step on the Midnight Simplified YouTube playlist.

Each video covers:

  • The concept being taught
  • The smart contract breakdown
  • Deployment demo
  • How to interact with the contract

If you enjoy the content, consider:

  • Subscribing
  • Joining community discussions
  • Sharing with developers getting into Web3

🤝 Contributions

This repo is community-friendly! If you'd like to add a tutorial dApp or improve an existing one:

  • Fork the repo
  • Add your contribution
  • Submit a pull request

📜 License

MIT License — free to use, modify, and learn from.


About

Youtube Midnight Blockchain DApp tutorial series

Topics

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages