core-concepts:data-models

Official

Choose the right Midnight token paradigm.

Authordevrelaicom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Helps developers and architects decide between UTXO (ledger tokens) and account-based (contract) token models on the Midnight ledger by explaining privacy trade-offs, concurrency implications, and ledger structure so they can pick the safest and most performant design for their application.

Core Features & Use Cases

  • Model comparison: Clear trade-offs between UTXO-based shieldable ledger tokens and account-based contract tokens for privacy, parallelism, and composability.
  • UTXO mechanics: Explanations of coin commitments, nullifier computation, shielded vs unshielded coins, and Merkle commitment tree membership proofs.
  • Ledger structure: Overview of Zswap state, historic Merkle roots, first-free index, nullifier set, and the contract map with verifier keys.
  • Practical guidance: When to mint native vs custom token types, how token types are derived, and integration patterns with Compact contracts.

Quick Start

Compare UTXO and account token models for a privacy-preserving fungible token that requires parallel processing and explain the implications for minting, nullifiers, and contract integration.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: core-concepts:data-models
Download link: https://github.com/devrelaicom/midnight-expert/archive/main.zip#core-concepts-data-models

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.