OData for
Cardano & Midnight

OData V4 services exposing the Cardano and Midnight blockchains. Packaged as SAP CAP plugins - install with npm, configure via cds.requires, blockchain services register automatically.

npm install @odatano/corenpm install @odatano/nightgate# package.json"cds": { "requires": {  "odatano-core": { "network": "preview" },  "nightgate": { "network": "preview" }}}# services register automaticallycds serve
  • Apache 2.0 License
  • v1.10.0 @odatano/core on npm
  • v0.8.3 @odatano/nightgate on npm

Build verifiable ERP workflows and apps - with the privacy you need.

Anchor business data transparently on Cardano, or prove it without revealing it on Midnight. Same CAP plugin model, same OData surface.

Day · Cardano

Transparent by design.

Public, auditable, enterprise-grade. On-chain data and transactions exposed as OData entities and actions - readable by SAP Fiori, Excel, Power BI, or any OData client.

@odatano/core DAYPASS DAYZERO x402 FINCA TRACE
Explore the Cardano track ↓
Night · Midnight

Private by proof.

Shielded transfers, Compact smart contracts, and zero-knowledge attestations - prove compliance without revealing business data.

@odatano/nightgate NIGHTPASS
Explore the Midnight track ↓

Architecture

ODATANO is a bridge between business applications and public blockchains. Tools enterprises already use like SAP Fiori, Excel, Power BI, or any OData-aware client can read on-chain data and trigger transactions without learning complex blockchain APIs. ODATANO talks to Cardano; NIGHTGATE talks to Midnight - both take care of the hard parts like multiple data providers, caching, and safely building and submitting transactions on your behalf.

Your Application

SAP Fiori / UI5 Any OData Client REST / curl

ODATANO

CardanoODataService CardanoTransactionService CardanoSignService

NIGHTGATE

NightgateService NightgateIndexerService NightgateAnalyticsService

Cardano

Mainnet Preview Preprod

Midnight

Mainnet Preview Preprod

Services

Both plugins expose their blockchain as OData V4 entities and actions. Standard query options ($filter, $select, $expand, $orderby) work as in any OData service, and full service metadata is available at $metadata.

@odatano/core

Read

CardanoODataService: 18 entities, 16 actions. Blocks, Transactions, Addresses, UTxOs, Pools, Accounts, DReps, Protocol Parameters, transaction CBOR parser. Lazy on-demand indexing with TTL refresh.

Transactions

CardanoTransactionService: 13 actions. ADA transfers, multi-asset, mint, Plutus V3 spend, CIP-20 metadata, CIP-31 reference inputs, CIP-33 reference scripts. Buildooor is the sole transaction-building engine.

Signing

CardanoSignService: 8 actions. External signing via CIP-30 wallets or Cardano CLI; server-side signing via PKCS#11 HSM. Private keys never reach the server in any flow.

@odatano/nightgate

Chain & Wallet

NightgateService: a built-in crawler indexes Midnight blocks from Substrate RPC with reorg detection and catch-up sync. Worker-thread-isolated wallet sessions - read-only via viewing key or full signing.

Contracts & Tokens

Deploy and call Compact-compiled smart contracts (deployContract, submitContractCall), send NIGHT with auto-detected receiver ledger, async job model with getJobStatus polling.

Privacy

ZK predicate attestations prove hidden values meet thresholds without disclosure. Document anchoring with on-chain verification, plus shieldFunds / unshieldFunds cross-ledger shifts.

Ecosystem

Applications and libraries built on the ODATANO plugins - from supply-chain NFTs to zero-knowledge battery passports.

Flagship Applications
EU Battery Passport · Reg. 2023/1542 Cardano

DAYPASS

Digital battery passports anchored on Cardano as CIP-25 NFTs. Sensitive data stays encrypted off-chain - Merkle proofs disclose single fields, and Groth16 predicates prove thresholds like carbon footprint on the Cardano ledger itself.

  • CIP-25 NFT Anchors + Label-1155 Evidence
  • AES-Encrypted Disclosure Tiers
  • Merkle Single-Field Disclosure
  • On-Chain Groth16 ZK Predicates
  • Catena-X PAC Export
EU Battery Passport · Reg. 2023/1542 Midnight

NIGHTPASS

The shielded twin of DAYPASS, running on Midnight via @odatano/nightgate. One dataset, three stakeholder views - sensitive metrics are proven with ZK attestations without ever revealing the values.

  • Three Disclosure Tiers (Consumer / Recycler / Authority)
  • Field-Bound ZK Predicate Attestations
  • Payload Hashes On-Chain, Data Encrypted Off-Chain
  • Server Worker or Personal Wallet Submission
  • Catena-X Passport + PAC Export
More Projects
Pharma Supply Chain Cardano

TRACE

Tracks pharmaceutical batches across manufacturer, distributor, and pharmacy with NFTs minted under a Plutus V3 policy - each handoff anchors certificates and cold-chain telemetry on-chain.

  • Batch NFT Mint Policy (Plutus V3)
  • Continuing-Output Datum Custody Chain
  • CIP-20 Document Anchoring
Charli3 Grand Prize 2026 Cardano

QUANTIX

On-chain settlement of B2B raw-material orders against attested inventory and Charli3 oracle price feeds. A custom Plutus V3 minting policy enforces inventory, price ceiling, payment, and deadline atomically.

  • Atomic Mint Validator (Plutus V3)
  • Charli3 Multi-Feed Oracle Integration
  • One Signature, One Transaction - No Escrow
Financial Data Anchoring Cardano

FINCA

Anchors balance sheets and income statements on Cardano as CIP-10 label-1447 metadata following the Cardano Foundation Reeve spec - verifiable accounting without a smart contract.

  • CIP-10 Label-1447 Metadata (Reeve Spec)
  • Double-Entry Journal Ledger Math
  • On-Chain Report Verification
HTTP 402 Payment Gating Cardano

x402

Payment-gating library for SAP CAP - gated OData endpoints return HTTP 402 until the caller proves on-chain settlement. No database, no smart contract: the UTxO model is the replay defense.

  • Cardano-x402-v2 Protocol (HTTP 402)
  • Nonce-UTxO Replay Defense - No Database
  • ADA or Any Native Token Pricing
Zero-Knowledge Toolkit Cardano

DAYZERO

Pure-TypeScript zero-knowledge toolkit powering DAYPASS - Groth16 proving and verification plus Poseidon hashing on BLS12-381, with no native dependencies.

  • Groth16 Proving & Verification
  • Poseidon Hashing on BLS12-381
  • Powers DAYPASS On-Chain Predicates
Transaction Monitoring Cardano

WATCH

Deterministic monitoring and verification of blockchain-backed business transactions for enterprise systems - confirms that what your ERP recorded is what the chain settled.

  • Deterministic Transaction Verification
  • Monitoring for Blockchain-Backed Processes
  • Enterprise System Integration

Stack

Runtime and dependencies.

Framework SAP CAP 10.x
Language TypeScript 5.x
Chains Cardano · Midnight
Database SQLite · SAP HANA
Blockchain APIs Blockfrost · Koios · Ogmios · Midnight RPC
TX Builder Buildooor · Midnight SDK
Zero-Knowledge Groth16 · Halo2 · Poseidon · BLS12-381
Runtime Node.js 22 / 24
License Apache 2.0

Start building.

Two chains, one integration model. Install a plugin, add one config block, and your CAP service speaks blockchain. Run it standalone on your own server, inside SAP BTP, or inside your existing CAP application.

npm install @odatano/core npm install @odatano/nightgate

Get in touch

Questions, an integration, or a custom implementation needed? Send a message and we will get back to you.