Dev.to
5/11/2026

Build shielded token mint, transfer, and burn flows in Compact
Short summary
Hands-on tutorial for building shielded token operations in the Midnight blockchain using the Compact programming language. Covers minting new shielded tokens, transferring committed values between addresses, and burning tokens with practical TypeScript and Compact code examples. Includes complete project setup, Vitest test structure, and decision tables mapping each operation to the correct standard library helper.
- •Step-by-step guide to mint, transfer, and burn shielded tokens in Midnight blockchain
- •Complete TypeScript and Compact code with Vitest test structure
- •Decision table maps operations to correct standard library helpers for coin state management
Generated with AI, which can make mistakes.
Is this a good recommendation for you?


