Skip to content

Instantly share code, notes, and snippets.

View drwasho's full-sized avatar

Dr Washington Sanchez drwasho

View GitHub Profile
@drwasho
drwasho / Dispute Resolution in OpenBazaar.md
Last active February 19, 2021 21:17
Dispute Resolution in OpenBazaar

Dispute Resolution in OpenBazaar

1.0 Introduction

Multisignature escrow addresses are the key to managing risk for trades between peers on OpenBazaar. These addresses mathematically ensure that a single agent is incapable of stealing funds from an address using their private key alone. Furthermore, multisignature addresses can be designed to accommodate several parties within a voting pool as previously discussed.

In a typical 2-of-3 multisignature transaction in OpenBazaar, the first two signers are the buyer and seller. The third signature is a 'trusted' third party who has the power to sign a transaction in combination with the buyer or seller in the event of an accident, key theft, or dispute. The third party signer, a notary, in OpenBazaar also acts as the third signer of Ricardian contracts for the sale o

@drwasho
drwasho / Notaries-pools-certification-blinding.md
Last active September 16, 2015 22:30
Further description of notaries within OpenBazaar

# Notary Selection in OpenBazaar: Voting Pools, Certification, and Contract Blinding

1. Introduction

There is a significant bottleneck in the current workflow for OpenBazaar, which is the selection of a third party notary or arbiter. Irrespective whether the notary or arbiter is the same agent, both the merchant and the buyer are required to come to a consensus in selecting a third party key-holder in a 2-of-3 multisignature escrow address. The fundamental obstacle is the risk of possible collusion between one of the parties and the notary, and the subsequent distrust one party has for the other party's notary preference. Unless both parties have preselected the same notary that they both trust, somewhat coincidentally, then a transaction cannot take place. This may result in significant and frustrating delays that run counter to the values that OpenBazaar ho

Key 1

Pubkey 1

04a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd5b8dec5235a0fa8722476c7709c02559e3aa73aa03918ba2d492eea75abea235

Private key 1

5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss

Key 2

Pubkey 2

04e8990b242406721b144bd278967782f9dfe22a26fefa3ac510b776addce43736b3a0f3490ddcfab21a72bb98a0c2f1c5f095fbce15f1807851a63d74824edecd

Private key 2

Verifying that +drwasho is my Bitcoin username. You can send me #bitcoin here: https://onename.io/drwasho
@drwasho
drwasho / drwashosig_OpenBazaar
Last active August 29, 2015 14:08
Multisignature Signing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Migration of our project funds to a multisig address.
=====================================================
We, the undersigned core developers of OpenBazaar, have decided with consensus
on the following on November 4th, 2014:
Because of the facts that:
@drwasho
drwasho / 0_reuse_code.js
Last active August 29, 2015 14:09
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@drwasho
drwasho / Seed Contract Template
Last active August 29, 2015 14:17
OB Seed Contract Template
{
"stage01_merchant": {
"genesis": {
"metadata": {
"obcv": "0.0.3",
"category": "Physical item",
"subcategory": "Fixed Price",
"nonce": "",
"expiration_date": ""
},
@drwasho
drwasho / OBRC Physical Goods.json
Created May 18, 2015 23:56
OpenBazaar Ricardian Contract Schema for Physical Goods
{
"genesis": {
"merchant": {
"metadata": {
"obcv": "",
"category": "",
"subcategory": "",
"nonce": "",
"expiration_date": ""
},

OpenBazaar v1 Contracts

Physical Goods - Fixed Price

{
   "01_vendor" : {
      "01_listing" : {
         "01_metadata" : {
            "01_obcv" : "",

Moderator Selection

Should a buyer be selecting the moderator? In my view, no.

There are two options in this question:

  1. Vendor selects the moderator
  2. Buyer selects the moderator

If the vendor is selecting the moderator, then the buyer will be scanning listings and factoring in the choice of moderator in a decision to place an order. This means that any orders have essentially accepted the choice of moderator attached to that listing.