Skip to content

Instantly share code, notes, and snippets.

View drwasho's full-sized avatar

Dr Washington Sanchez drwasho

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

Service Contracts in OpenBazaar

Introduction

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
drwasho / Issuance and P2P transfer of shares in OpenBazaar.md
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

Introduction

Decentralised money necessarily requires decentralised markets.

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

Voting Pools in OpenBazaar

Introduction

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
drwasho / OBGenesisContract.md
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
drwasho / Risk and Insurance in OpenBazaar.md
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

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": ""
},