Skip to content

Invariants0/zera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

180 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZERA

An institutional-grade digital asset marketplace that turns digital assets into verified, private, and compliant financial primitives built for real ownership.


zerabanner


Midnight Network Next.js TypeScript Node.js Tailwind CSS Prisma ZK Proofs


Vision

Note

NFTs were supposed to redefine ownership. Instead, they became synonymous with speculation.

Ownership can be faked. Assets can be duplicated. Identity is either exposed or completely absent. Compliance doesn’t exist. So the market reacted accordingly: NFTs are still seen as speculative toys, not serious assets.

ZERA changes that.
We are not building another marketplace. We are rebuilding the foundation of digital ownership.

Most marketplaces optimize for hype, visibility, and speculation.
ZERA optimizes for legitimacy, trust, and enforceability.

The Paradigm Shift

Feature Traditional NFT Platforms ZERA
Core Focus Visibility and Hype Verifiability and Legitimacy
Authenticity Assumed Cryptographically Verified
Privacy Public and Exposed Private Ownership
Compliance Non-existent Enforceable via Math

Business Development & Viability

ZERA unlocks participation from markets that traditional NFT platforms cannot reach. By embedding privacy and compliance at the protocol level, it enables:

  • Institutional participation
  • Regulated asset trading
  • High-value asset tokenization

This is where digital assets transition from speculative instruments to financial infrastructure.

Important

When trust becomes provable, markets expand.


ChatGPT Image Apr 27, 2026, 02_46_25 AM

Product

ZERA is a verification-first, privacy-preserving asset registry and marketplace. It replaces trust assumptions with cryptographic proof systems.

Core Features

Verified Asset Registry
  1. Verification Mandatory  →  Assets must undergo strict cryptographic verification prior to being listed on the public registry.
  2. Fraud Prevention  →  By comparing asset hashes on-chain, the protocol actively prevents duplication and the creation of counterfeit assets.
  3. Marketplace Integrity  →  Ensures complete ecosystem legitimacy by tying every asset to an immutable identity.
Proof of Authenticity
  1. Creator Signatures  →  Every listing is backed by verifiable digital signatures from the original creator.
  2. Source Verification  →  Authenticity is strictly enforced at the smart contract level before any transaction can occur.
  3. Cryptographic Legitimacy  →  Every asset flowing through the protocol is guaranteed authentic by the network.
Private Ownership
  1. Identity Protection  →  Prove that you own an asset without ever revealing your personal identity.
  2. No Wallet Exposure  →  Public addresses and financial histories are kept entirely private.
  3. Provable, Not Visible  →  Ownership becomes a mathematical fact, not a public spectacle.
Proof of Eligibility
  1. Zero-Knowledge KYC  →  Verify regulatory compliance without exposing underlying personal data.
  2. Private Trading  →  Prove your eligibility to trade an asset without revealing who you are.
  3. Compliance via Math  →  Achieve regulatory adherence through cryptographic proofs rather than mass surveillance.
Private Transactions
  1. Secure Transfers  →  Execute fully compliant and secure asset movements.
  2. Private Execution  →  Trades happen under complete privacy using shielded states.
  3. Step-by-step Verification  →  ZK-proofs verify the integrity of the trade at every step of the transaction loop.
---

Product Flow

ZERA's architecture enforces a strict sequence of cryptographic operations to ensure that assets transition smoothly from creation to ownership.

Asset Creation Lifecycle

The journey of a new digital asset entering the ZERA ecosystem.

  1. Upload  →  The creator uploads the initial asset metadata.
  2. Sign  →  A cryptographic signature is attached to establish provenance.
  3. Verify  →  ZK-proofs validate the source without revealing sensitive creator data.
  4. Register  →  The asset is permanently recorded on the Midnight ledger.
  5. Trade  →  The asset enters the marketplace as a verified primitive.
Asset Acquisition Flow

How compliance and privacy are maintained during a purchase.

  1. Generate Proof  →  Buyer generates an eligibility proof locally.
  2. Verify Compliance  →  The network verifies compliance mathematically.
  3. Execute Transfer  →  Ownership transfers securely and privately.
Ownership Verification

Proving ownership post-transaction without exposing the wallet.

  1. Generate Proof  →  Owner generates a zero-knowledge proof of ownership.
  2. Verify  →  The proof is verified against the shielded contract state.
  3. Confirm  →  Full, trustless confirmation without revealing identity.
ChatGPT Image Apr 27, 2026, 03_14_52 AM (1)

Use Cases

Because ZERA operates at the intersection of privacy, compliance, and provable ownership, it enables entirely new classes of digital commerce.

Primary Applications
  • High-Value Digital Art Provides verifiable provenance and secondary market royalties while keeping collector portfolios private.

  • Tokenized Real-World Assets (RWAs) Supports fractional ownership of real estate, luxury goods, or commodities with built-in regulatory compliance.

  • Sensitive Digital Intellectual Property Securely registers patents, trade secrets, and exclusive IP with zero-knowledge proof of ownership.

  • Institutional-Grade Trading Allows hedge funds and financial institutions to clear digital assets securely without exposing their strategies.

ChatGPT Image Apr 27, 2026, 03_59_34 AM

Future Scope

The current implementation is just the beginning. ZERA is architected to scale into a comprehensive financial layer for the broader digital economy.

Roadmap & Expansions

We are actively researching and developing the following capabilities:

  1. Multi-Asset Class Support Expanding the contract schema to accommodate complex financial instruments like tokenized securities and debt.

  2. Regulatory Integrations Building automated compliance oracles that adapt to specific jurisdictional laws in real-time.

  3. Institutional Custody Solutions Collaborating with major custodians to enable multisig, threshold signature, and cold storage natively.

  4. Cross-Chain Verification Utilizing zero-knowledge bridges to verify asset state and ownership across Ethereum, Polkadot, and Cardano.

  5. Reputation Systems Establishing on-chain, privacy-preserving trust scores for users based on transaction history and verification status.


Architecture

Note

For a more detailed breakdown of our system components, please refer to our full documentation.

ChatGPT Image Apr 27, 2026, 04_39_54 AM

Getting Started

Follow these steps to quickly set up and run ZERA locally.

Prerequisites

Warning

Ensure you have the exact Node and Bun versions specified to avoid compilation errors.

  • Node.js: >= 22.0.0
  • Bun: >= 1.0.0
  • Docker: For running the local network and PostgreSQL DB
  • Cargo/Rust: For running the storage service

Important

Compact Compiler & Midnight Network Setup For full installation instructions regarding the Compact compiler and Midnight node dependencies, please head over to the Midnight Developer Documentation.

Installation & Quick Start

  1. Install Dependencies

    bun install
  2. Configure Environment Copy the example environment files:

    cp web/.env.example web/.env
    cp storage/.env.example storage/.env
  3. Setup the Entire Project This script compiles the smart contracts, sets up the Prisma database, and configures the local Docker services.

    bun run project:prepare
  4. Start Local Development Boot up the local network, deploy the contract locally, and launch the Next.js frontend and Rust storage API simultaneously.

    bun run start:all

Other Useful Commands

  • bun run test — Run smart contract tests against the local network.
  • bun run deploy — Deploy the contracts to the Midnight preprod network.
  • bun run services:down — Spin down all local Docker services.

Project Structure

.
├── web/                      # Next.js Frontend App (Zustand, Tailwind, Prisma)
├── contracts/                # Midnight Network Smart Contracts (Compact)
├── storage/                  # Rust/Cargo Storage Service
├── docs/                     # Detailed architectural and setup documentation
├── scripts/                  # Utility and setup scripts
├── package.json              # Root Bun Workspace configuration
└── compose.yml               # Docker services for Midnight + Postgres

Documentation

For a comprehensive deep dive into the ZERA platform, please explore our docs/ directory:


foooooterrrrr

About

ZERA — A privacy-preserving asset marketplace enabling verifiable ownership, controlled access, and trustless digital asset distribution using zero-knowledge proofs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages