Urgent.News

What's breaking now, across thousands of outlets.

Tech

zk-barter: Exploring Zero-Knowledge Proofs for Trustless Digital Barter | Rushidev Ukalkar

How can two people exchange digital assets without either party having to trust the other to go first? That's the problem I'm exploring with zk-barter , a research project involving Solidity smart contracts, zero-knowledge proofs, and escrow-based digital exchanges. Author : Rushidev Gajanan Ukalkar GitHub Repository: https://github.com/Rushidev-Jain/zk-barter The idea Consider a simple exchange:…

In the world of digital exchanges, trust is a significant concern. How can two parties confidently engage in a transaction without relying on each other's reliability? This challenge is the focus of "zk-barter," a research project led by Rushidev Gajanan Ukalkar. The repository for this project can be found on GitHub at https://github.com/Rushidev-Jain/zk-barter.

At its core, zk-barter aims to facilitate a trustworthy exchange of digital assets, such as a digital product key from Alice to Bob. In a typical scenario, Bob would require proof that the key is genuine before making a payment; however, Alice would prefer not to disclose the key until she receives compensation. Traditional escrow solutions do not entirely address this issue.

To tackle this problem, zk-barter leverages a combination of cryptographic verification and smart-contract escrow. By integrating zero-knowledge proofs (ZKPs), specifically employing the Groth16 proof system and cryptographic commitments implemented via libsnark, the project strives to create a more trust-minimized exchange mechanism.

The development of zk-barter is still in its early stages, with the cryptographic circuit implementation and integration requiring further work. It is crucial to note that this project is not production-ready or independently audited. The author has chosen to share the source code publicly, aiming to document the project's progress and encourage feedback and technical discussions from the community.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Updating Rustup 1.29.3 while keeping the compiler fixed

The toolchain manager and the compiler have separate version numbers. I updated an isolated Rustup installation from 1.29.2 to 1.29.3 , kept its linked compiler at 1.99.1 , then compiled and ran a…

  • Rustup updated to version 1.29.3
  • Compiler version fixed at 1.99.1
  • Two regression fixes in 1.29.3

Why Pay for the Smartest Model Every Time?

Originally published on wrightfunctions.com , where the demos are live. A restaurant doesn't send every order to the head chef. Toast goes to the line cook.

  • Intelligent routing, cascading, distillation, and caching reduce large language model pricing.
  • Requests directed to most powerful model only when necessary, cutting costs up to 85%.
  • Distillation trains smaller model on larger model's outputs for faster, cheaper usage.

Two coroutines, one journal: a Restate restart demo

Both preparation steps had finished when I stopped the Node process. The Restate server stayed running. After I started the service again, the pending invocation returned ["A", "B"] , and the…

  • Two coroutines, prepare-a and prepare-b, each with generator-based steps
  • Interruption occurred mid-process, file verified executed effects
  • Service implemented in service.mjs with dependencies @restatedev/restate-sdk

Introduction to Graph Databases for Knowledge Graphs

Introduction Graph databases are specialized database management systems that store and manage data as interconnected nodes and relationships.

  • Graph databases store data as interconnected nodes and relationships
  • Knowledge graphs represent complex real-world domains
  • Neo4j demonstrates creating a movie recommendation knowledge graph

More from Wednesday 4 November →