Return-Path: Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 18F75C002A for ; Thu, 13 Apr 2023 14:10:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id D4EA383F4D for ; Thu, 13 Apr 2023 14:10:14 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org D4EA383F4D Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=f5t+RlpV X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -2.098 X-Spam-Level: X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H9LW1asmQuPS for ; Thu, 13 Apr 2023 14:10:13 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 9FB8783FB5 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by smtp1.osuosl.org (Postfix) with ESMTPS id 9FB8783FB5 for ; Thu, 13 Apr 2023 14:10:13 +0000 (UTC) Received: by mail-io1-xd29.google.com with SMTP id e18so1244452iow.3 for ; Thu, 13 Apr 2023 07:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681395012; x=1683987012; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Lodgd5hhvmx+osCxR3dGX7Xd/qv/3hwQJijSJ6Twh84=; b=f5t+RlpVKP1VkHf8kf5sJ5wxAJcUFhIrz/+DxW15bzmXlHB1SlqjZVFTosWSbwqkUF 8Hx2S9cNpFB49FQ9nD3SEKGekIYmUlXTglH/DZ6kPpkUW5CvQIcYadK1cYwbn8wI3lRU ZuLAy2VLyVNQj3hHsc0AdB30dvtTvTJOpaI3m3w1tNYqM0+N5L9OzHoKUv0KTGSIv5Rv UxBkrA2M+9jJUbqtjdhBDgzT+FMnYX4wZCr6Em4Ilj6yzubL7MEansOYUwiqJaYvKPsJ 9/WFewP5qpEzKemBHTf3z42+PSgiQUywwx6lkuOsCYZJA9Z18YB3YD2/tDAnaDGZxD7l 8TSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681395012; x=1683987012; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Lodgd5hhvmx+osCxR3dGX7Xd/qv/3hwQJijSJ6Twh84=; b=ZPbnm64TePXCsXu/MdXbYAP9uFkUzXtGkQStGcdA0nOv+A4xllgnsdlyCDRfqNxWn3 UZ0SD+lxz5Celg+prpk3TZjnrzT2DEbRMu9U4cuPEHUKiP/ROftmaziEC6j+/N0ykbtt wIvOdGKMyZt5dJrhZQ00n3o/skouGjT/5p3NlY9F9ie7IWR4t0a4ovK3+k6/tqlXkiBh GCXIkIPLwbdelGP1NiLX8uHd6CQJJrcjzkCSDc07Ur63UX6Lo5qF1SN9Xy3gXMOMZYZy X5A45FlzPEfySvOMoJpcjn8teaf7aJqpGafi3XQe5yEeW1DQWaeKc0Q1UDV/fFWjcC3w szzg== X-Gm-Message-State: AAQBX9f/EMeVJ2iXFXEtiJkDml3NI7P0FKBRL9ti31iUIv/gGEhD0eNi biSZOntuI6GSyjJo7e04yy6Z5UPw+GPpwPh/5pCxbXUcTv3zoQ== X-Google-Smtp-Source: AKy350YaYhNID3ae03PtO/qIXBWRiepX76UDQnVBaaOusOt9vfHLAS159LsTAmBztH4dJsIhvpV389Xobmz9PcxaHtU= X-Received: by 2002:a6b:6e19:0:b0:740:7bea:5287 with SMTP id d25-20020a6b6e19000000b007407bea5287mr828308ioh.3.1681395012416; Thu, 13 Apr 2023 07:10:12 -0700 (PDT) MIME-Version: 1.0 From: Antoine Riard Date: Thu, 13 Apr 2023 15:10:01 +0100 Message-ID: To: Bitcoin Protocol Discussion Content-Type: multipart/alternative; boundary="000000000000713c9b05f938481a" X-Mailman-Approved-At: Thu, 13 Apr 2023 16:49:34 +0000 Subject: [bitcoin-dev] Civ Kit: A Peer-to-Peer Electronic Market System X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2023 14:10:15 -0000 --000000000000713c9b05f938481a Content-Type: text/plain; charset="UTF-8" Hi list, We have been working since a while with Nicholas Gregory (Commerce Block), Ray Youssef (the Built With Bitcoin foundation) and few others on a new peer-to-peer market system to enable censorship-resistant and permissionless global trading in all parts of the world. While the design aims in priority to serve on-ramp/off-ramp trading, it can be extended to support any kind of trading: goods, services, bitcoin financial derivatives like discreet log contracts. The design combines the Nostr architecture of simple relays announcing trade orders to their clients with Lightning onion routing infrastructure, therefore granting high-level of confidentiality to the market participants. The market boards are Nostr relays with a Lightning gateway, each operating autonomously and in competition. The market boards can be runned as a federation however there is no "decentralized orderbook" logged into the blockchain. The trades are escrowed under Bitcoin Script contracts, relying on moderations and know your peer oracles for adjudication. The scoring of trades, counterparties and services operators should be enabled by the introduction of a Web-of-Stakes, assembled from previous ideas [0]. From the Bitcoin UTXO set servicing as a trustless source of truth, an economic weight can be assigned to each market entity. This reputation paradigm could be composed with state-of-the-art Web-of-Trust techniques like decentralized identifiers [1]. A consistent incentive framework for service operators is proposed by the intermediary of privacy-preserving credentials backed by Bitcoin payments, following the lineaments of IETF's Privacy Pass [2]. Services operators like market boards and oracles are incentivized to thrive for efficiency, akin to routing hops on Lightning and miners on the base layer. The whitepaper goes deep in the architecture of the system [3] (Thanks to the peer reviewers!). We'll gradually release code and modules, extensively building on top of the Lightning Dev Kit [4] and Nostr libraries. All according to the best Bitcoin open-source and decentralized standards established by Bitcoin Core and we're looking forward to collaborating with everyone in the community to standardize libraries and guarantee interoperability between clients with long-term thinking. Feedback is very welcome! Cheers, Nick, Ray and Antoine [0] https://lists.linuxfoundation.org/pipermail/lightning-dev/2020-November/002884.html [1] https://www.w3.org/TR/2022/REC-did-core-20220719/ [2] https://privacypass.github.io [3] https://github.com/civkit/paper/blob/main/civ_kit_paper.pdf [4] https://lightningdevkit.org --000000000000713c9b05f938481a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi list,

We have been working since a w= hile with Nicholas Gregory (Commerce Block), Ray Youssef (the Built With Bi= tcoin foundation) and few others on a new peer-to-peer market system to ena= ble censorship-resistant and permissionless global trading in all parts of = the world. While the design aims in priority to serve on-ramp/off-ramp trad= ing, it can be extended to support any kind of trading: goods, services, bi= tcoin financial derivatives like discreet log contracts.

The design combines the Nostr architecture of simple relays announci= ng trade orders to their clients with Lightning onion routing infrastructur= e, therefore granting high-level of confidentiality to the market participa= nts. The market boards are Nostr relays with a Lightning gateway, each oper= ating autonomously and in competition. The market boards can be runned as a= federation however there is no "decentralized orderbook" logged = into the blockchain. The trades are escrowed under Bitcoin Script contracts= , relying on moderations and know your peer oracles for adjudication.
=

The scoring of trades, counterparties and services oper= ators should be enabled by the introduction of a Web-of-Stakes, assembled f= rom previous ideas [0]. From the Bitcoin UTXO set servicing as a trustless = source of truth, an economic weight can be assigned to each market entity. = This reputation paradigm could be composed with state-of-the-art Web-of-Tru= st techniques like decentralized identifiers [1].

= A consistent incentive framework for service operators is proposed by the i= ntermediary of privacy-preserving credentials backed by Bitcoin payments, f= ollowing the lineaments of IETF's Privacy Pass [2]. Services operators = like market boards and oracles are incentivized to thrive for efficiency, a= kin to routing hops on Lightning and miners on the base layer.
The whitepaper goes deep in the architecture of the system [3]= (Thanks to the peer reviewers!).

We'll gradua= lly release code and modules, extensively building on top of the Lightning = Dev Kit [4] and Nostr libraries. All according to the best Bitcoin open-sou= rce and decentralized standards established by Bitcoin Core and we're l= ooking forward to collaborating with everyone in the community to standardi= ze libraries and guarantee interoperability=C2=A0between clients with long-= term thinking.

Feedback is very welcome!

Cheers,
Nick, Ray and Antoine

[3]=C2=A0https= ://github.com/civkit/paper/blob/main/civ_kit_paper.pdf
[4]=C2= =A0https://lightningdevkit.org<= /div>
--000000000000713c9b05f938481a--