Build shielded token mint, transfer, and burn flows in Compact

Shielded tokens let Midnight applications move value while keeping sensitive transaction details private. In this tutorial, you will build a small Compact project that mints shielded value, transfers it, burns it, and verifies the full lifecycle with a Vitest test suite. The core idea is simple but important: a newly minted shielded coin is not yet a committed ledger coin. Fresh coins use ShieldedCoinInfo and can be spent immediately with sendImmediateShielded. Coins that already exist in the l...

Original Source

Read the full article at Dev →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.