Skip to content

Instantly share code, notes, and snippets.

View drwasho's full-sized avatar

Dr Washington Sanchez drwasho

View GitHub Profile
@drwasho
drwasho / 1-1-3 Install Fix.md
Created April 17, 2016 22:19
1.1.3 Windows install error potential fix

Introduction

For reasons that we're in the middle of tracking down, some Windows users are having difficulties installing OpenBazaar 1.1.3. We have a possible fix to this problem. Please let us know in the comments whether it worked for you.

Instructions

  1. Delete the OpenBazaar folder, which is found in C:\Users\[your username]\AppData\Local\OpenBazaar
  • If you have previously installed OpenBazaar, it will not delete your database or listings (they are safe and you don't need to delete them)
  1. Reinstall OpenBazaar
@drwasho
drwasho / Install IPFS from Source in Windows.md
Last active June 3, 2024 09:59
How to install IPFS from source in Windows

Install IPFS in Windows

Install Go

  • Head to the download website
  • Click the latest version and download the .msi file

Create Paths

  • Create GOROOT system variable if it doesn't exist in C:\Go
@drwasho
drwasho / installobserver.sh
Last active May 18, 2016 17:19
Install the OpenBazaar server in one simple script for Debian
#!/bin/bash
apt-get update && apt-get upgrade
apt-get install git
apt-get install build-essential libssl-dev libffi-dev python-dev openssl python-pip libzmq3-dev
add-apt-repository ppa:chris-lea/libsodium
apt-get update
apt-get -f install
apt-get install libsodium-dev
pip install cryptography
@drwasho
drwasho / installobserver.sh
Last active April 15, 2016 02:52
Install the OpenBazaar server in one simple script for Ubuntu 14.04 (Trusty)
#!/bin/bash
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git
sudo apt-get install build-essential libssl-dev libffi-dev python-dev openssl python-pip libzmq3-dev
sudo add-apt-repository ppa:chris-lea/libsodium
sudo apt-get update
sudo apt-get -f install
sudo apt-get install libsodium-dev
sudo pip install cryptography
@drwasho
drwasho / installobserver.sh
Last active November 18, 2020 22:50
Install the OpenBazaar server in one simple script for Ubuntu 15 (Vivid)
#!/bin/bash
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git
sudo apt-get install build-essential libssl-dev libffi-dev python-dev openssl python-pip libzmq3-dev
sudo add-apt-repository ppa:chris-lea/libsodium
sudo apt-get update
sudo apt-get -f install
sudo apt-get install libsodium-dev
sudo pip install cryptography

Keybase proof

I hereby claim:

  • I am drwasho on github.
  • I am drwasho (https://keybase.io/drwasho) on keybase.
  • I have a public key whose fingerprint is 0614 43F9 9FC1 4F63 5DB8 2E7B 5818 FAC9 E224 0372

To claim this, I am signing this object:

{
langName: "English",
langCode: "en",
/* Use capitalized keys for widely reused text that must be capitalized */
Next: "Next",
IAgree: "I Agree",
Back: "Back",
EnterMessage: "Enter message...",
Skip: "Skip",
Done: "Done",

OpenBazaar REST API Documentation

OpenBazaar has two distinct components: a server and a client. 

The ‘server’ is the network daemon that connects with the OpenBazaar P2P network and contains the node’s database. It is the ‘business end’ of the OpenBazaar application, as it connects directly with other nodes on the network, caches data, digital signs contracts, and holds private keys etc. The server can either run locally (i.e. on your computer) or remotely on a virtual private server (e.g. Digital Ocean, Docker, Heroku).

The ‘client’ is what the user interacts with operate the functions of the server. The client uses a combination of REST and Websocket (WS) APIs to control the network and market function of the server. This enables developers to create alternative or feature-specific clients for OpenBazaar.

If the OpenBazaar server is running locally, the base URL will be:

@drwasho
drwasho / OpenBazaar REST API - GET calls.md
Last active July 27, 2019 14:22
Documentation for the OpenBazaar REST API

OpenBazaar REST API Documentation

OpenBazaar has two distinct components: a server and a client. 

The ‘server’ is the network daemon that connects with the OpenBazaar P2P network and contains the node’s database. It is the ‘business end’ of the OpenBazaar application, as it connects directly with other nodes on the network, caches data, digital signs contracts, and holds private keys etc. The server can either run locally (i.e. on your computer) or remotely on a virtual private server (e.g. Digital Ocean, Docker, Heroku).

The ‘client’ is what the user interacts with operate the functions of the server. The client uses a combination of REST and Websocket (WS) APIs to control the network and market function of the server. This enables developers to create alternative or feature-specific clients for OpenBazaar.

If the OpenBazaar server is running locally, the base URL will be:

@drwasho
drwasho / OB-insurance-contract.md
Last active July 31, 2017 23:16
Insurance contracts in OpenBazaar

OpenBazaar Insurance Contracts

Insurance Contract - Base Template

  • As with all Ricardian contracts in OpenBazaar, there are 4 stages:
    1. Vendor offer
    2. Buyer order
    3. Vendor order confirmation
    4. Buyer receipt
  • A completed Ricardian contract is called a 'trade receipt'