> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

# Tutorials

Step-by-step tutorials for building DApps on Midnight Network. Start with the entry-level tutorials and work up to end-to-end deployments.

[✦](https://docs.midnight.network/tutorials/private-party.md)

### [Private party](https://docs.midnight.network/tutorials/private-party.md)

[Read a contract that keeps guests private behind salted commitments until they pay an unshielded NIGHT entry fee, then run the party with MidnightJS tests on a local devnet.](https://docs.midnight.network/tutorials/private-party.md)

[Tour the contract→](https://docs.midnight.network/tutorials/private-party.md)

[✦](https://docs.midnight.network/tutorials/battleship.md)

### [Battleship](https://docs.midnight.network/tutorials/battleship.md)

[Read a contract written defensively, with a state machine, role checks and hash commitments that catch cheating, then prove each defense with MidnightJS tests on a local devnet.](https://docs.midnight.network/tutorials/battleship.md)

[Tour the contract→](https://docs.midnight.network/tutorials/battleship.md)

[✦](https://docs.midnight.network/tutorials/private-tip-jar.md)

### [Private tip jar](https://docs.midnight.network/tutorials/private-tip-jar.md)

[Take anonymous shielded tips into a contract-held pot that only the owner can withdraw, with two contracts wired from one MidnightJS test suite.](https://docs.midnight.network/tutorials/private-tip-jar.md)

[Tour the tip jar→](https://docs.midnight.network/tutorials/private-tip-jar.md)

[✦](https://docs.midnight.network/tutorials/zk-loan.md)

### [ZK Loan](https://docs.midnight.network/tutorials/zk-loan.md)

[Score credit privately: a contract that verifies a Schnorr-signed attestation inside the ZK proof and records only the loan outcome, the attestation API that signs it, and MidnightJS tests on a local devnet.](https://docs.midnight.network/tutorials/zk-loan.md)

[Tour the contract→](https://docs.midnight.network/tutorials/zk-loan.md)

[✦](https://docs.midnight.network/tutorials/leaderboard.md)

### [Leaderboard](https://docs.midnight.network/tutorials/leaderboard.md)

[Build a full-stack DApp with structured on-chain data, privacy controls via disclose(), Lace wallet integration, and production deployment.](https://docs.midnight.network/tutorials/leaderboard.md)

[Build leaderboard→](https://docs.midnight.network/tutorials/leaderboard.md)
