SShortSingh.
Back to feed

Developer Builds ZK Invoice Contract and USDM Bridge Across Cardano and Midnight

0
·1 views

A developer completed a full USDM token round-trip between the Cardano and Midnight blockchains, building a web front-end for the bridge and deploying a zero-knowledge invoice settlement contract on Midnight's Preview network. The bridge uses VIA's lock-release mechanism to lock USDM on Cardano and mint native tokens on Midnight, with ZK proofs generated locally via a proof server to handle the return leg. The developer documented several undisclosed technical pitfalls, including DUST balance reporting returning undefined while funds were actually accruing, requiring a timestamp-based query to retrieve the correct balance. The private invoice contract stores only a hash of invoice details on-chain, allowing either party to prove settlement in zero knowledge without revealing the payment amount or payer identity. Both the bridge front-end and the payments DApp have been open-sourced and deployed as live demos on GitHub Pages.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How to Stop AI-Built Projects From Collapsing: A Beginner's Architecture Guide

AI tools have made it easy for beginners to generate working code without understanding how it is structured, creating a hidden trap as projects grow more complex. The core problem is not poor AI output but the gap between writing code and organizing it — a distinction most new builders only discover when things start breaking. Experts suggest separating three layers of any app: the user interface, the business logic, and the data access layer, keeping each in distinct files. A simple rule of thumb is that every file or function should perform one clearly nameable task, preventing tangled, fragile codebases. Consistently prompting AI tools to enforce this separation is described as the single most effective habit for keeping a growing project understandable and maintainable.

0
ProgrammingDEV Community ·

NocoBase 3.0 Alpha Quietly Adds AI Builder and Multi-Portal Support

NocoBase has been releasing 3.0 alpha builds since July 30, 2026, reaching alpha.13 by August 31, without any official blog announcement or formal release post. The stable channel remains at 2.2.5, while 3.0 alphas are available on npm and via official Docker images. Compared to the stable and beta lines, version 3.0 adds exactly two new packages: a multi-portal manager and a default React/shadcn-ui frontend template. Published documentation at docs.nocobase.com already covers an 18-page AI Builder section requiring NocoBase 3.0.0-alpha.6 or later, and a demo environment link is available. When asked on the forum about the major update, a staff member responded only with 'Stay tuned for our release,' leaving the launch timeline unconfirmed.

0
ProgrammingDEV Community ·

How to Build a Reliable Telegram Post Monitor Using Apify and n8n

A developer tutorial explains why a scheduled scraper alone cannot detect new Telegram posts without a separate state-tracking layer. The core problem is that 'new' requires comparing the current data snapshot against a previous one — information a single Actor run does not hold on its own. The author built a solution using a stateless Apify Actor for scraping and an n8n workflow to manage comparison state, duplicate prevention, and first-run policy. Testing across four scenarios revealed that a fresh session with no baseline can retrieve posts but cannot determine which are new — a distinction the system must explicitly preserve. The design is presented as reusable for price trackers, job monitors, inventory checks, and any workflow that repeatedly asks what has changed.

0
ProgrammingDEV Community ·

Developer Seeks Contributors for Open-Source Post-Apocalyptic MMORPG Built in Rust and Python

A developer has launched an open-source MMORPG project called The Last Signal, a post-apocalyptic multiplayer game being built using Rust for server and networking components and Python for the client and tooling. The project is still in early development, with current work focused on client-server communication, packet handling, automated testing, and CI/CD pipelines. The developer is actively seeking contributors across several areas, including networking, server architecture, documentation, and experimental cryptography, which is described as not production-ready. Entry-point GitHub Issues have been created to help new contributors get involved without requiring deep prior knowledge of the codebase. Those with interests in Rust, Python, security research, or technical writing are particularly encouraged to participate.

Developer Builds ZK Invoice Contract and USDM Bridge Across Cardano and Midnight · ShortSingh