Загрузка...

OpenZeppelin on Midnight — ZK Contract Patterns | Part 1

Part 1: OpenZeppelin is building reusable ZK contract libraries for Midnight — the same team that standardized Ethereum smart contracts. We walk through AccessControl with Merkle trees, ShieldedERC20 on Zswap, a math library using witness-based verification, and the LunarSwap DEX that wires it all together.

In this video:
- AccessControl.compact: role-based access using Merkle tree commitments and nullifiers
- ShieldedERC20: minting and burning tokens on Midnight's native Zswap coin infrastructure
- Math library: off-chain compute, on-chain verify — the core ZK pattern
- Queue: working around Compact's Vector limitations with Map-based FIFO
- LunarSwap UI: Next.js DEX with Lace wallet integration
- Why OZ building for Midnight signals ecosystem maturity

Resources mentioned:
- Repo: https://github.com/OpenZeppelin/midnight-apps
- OZ Compact contracts library: https://github.com/OpenZeppelin/compact-contracts
- LunarSwap live: https://midnight.openzeppelin.com/lunarswap
- Compact language reference: https://docs.midnight.network/compact/reference/lang-ref
- Midnight.js SDK: https://docs.midnight.network/relnotes/midnight-js
- Explainer #008 — OpenZeppelin Is Building for ZK
- Deep Dive #008 — ZK Access Control
- Build Session #007 — BBoard DApp
- Deep Dive #007 — Rational Privacy

About Edda Labs:
We help enterprises, Web3 protocols, and AI companies build AI agent infrastructure with privacy and compliance built in. Specialist team for AI agent integration and Midnight blockchain infrastructure.

Website: https://eddalabs.io
GitHub: https://github.com/eddalabs
LinkedIn: https://linkedin.com/company/edda-labs/
Twitter/X: https://x.com/eddalabs_io

#OpenZeppelin #Midnight #ZKproofs #blockchain #DeFi #smartcompliance #AIagents #Compact #privacy

Видео OpenZeppelin on Midnight — ZK Contract Patterns | Part 1 канала Edda Labs
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять