Skip to content

Instantly share code, notes, and snippets.

View drwasho's full-sized avatar

Dr Washington Sanchez drwasho

View GitHub Profile
drwasho / Service Contracts in
Last active August 29, 2015 14:02
Service Contracts: buying and selling services on OpenBazaar

Service Contracts in OpenBazaar


A service contract in OpenBazaar replaces a physical good to be sold with the terms and conditions of a service to be performed by one party. The distinction between a good and service within a Ricardian contract is minimal, as will be described in this article. Morever, the combination of pseudonym (nym) reputation management (proof of burn nyms, web of trust) and surety bonds can ensure a robust service industry within OpenBazaar.

Service Contracts

drwasho / Issuance and P2P transfer of shares in
Last active August 29, 2015 14:02
The issuance and P2P transfer of shares in OpenBazaar

The Issuance and P2P Transfer of Shares in OpenBazaar

by drwasho and Delain Markos


Decentralised money necessarily requires decentralised markets.

drwasho / Voting Pools in
Last active August 29, 2015 14:02
How voting pools can be used to manage risk in exchanges on OpenBazaar

Voting Pools in OpenBazaar


The advent of multisignature transactions within Bitcoin is a monumental achievement for the development of trustless (and near-trustless) systems. Building on top of the multisignature revolution is the possibility to create voting pools. A voting pool further distributes the role of an arbiter in a multi-party transaction and reduces the risk of fraudulent behavior within a pseudonymous marketplace like OpenBazaar.

Voting Pools

drwasho /
Last active August 29, 2015 14:03
OB Genesis Contract

OpenBazaar Genesis Contract

The following article contains OpenBazaar's first ever Ricardian contract for the sale of a good between Sam Patterson and Brian Hoffman, arbitrated by Dr Washington Sanchez. In short, the signing process follows these steps:

  1. Creation of the seed contract by the seller
  • The seller creates a contract to sell a good
  1. Creation of a bid offer for the contract by the buyer
  • The buyer appends their details to the seed contract and digitally signs it
drwasho / Risk and Insurance in
Last active August 29, 2015 14:03
How to manage risk in trade within OpenBazaar.

Risk and Insurance in OpenBazaar

1.0 Introduction

Insurance is a valuable service that is often misinterpreted, over-regulated, and out of reach for many people. On OpenBazaar, insurance is contextualized as a service that can be offered by anyone or group, leveraging:

  1. The clarity of terms and conditions set out in a Ricardian contract
  2. An open marketplace for competing insurance policies and service providers

Key 1

Pubkey 1


Private key 1


Key 2

Pubkey 2


Private key 2

Verifying that +drwasho is my Bitcoin username. You can send me #bitcoin here:
drwasho / drwashosig_OpenBazaar
Last active August 29, 2015 14:08
Multisignature Signing
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 / 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 / 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": ""