• This repository has been archived on 16/May/2019
  • Stars
    star
    608
  • Rank 73,219 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

(Deprecated) OpenBazaar 1.0 Server daemon for communication with OpenBazaar-Client

Note: This project is no longer maintained. Please see version 2 at https://github.com/OpenBazaar/openbazaar-go


OpenBazaar Server

Build Status Coverage Status Slack Status

This repo contains the OpenBazaar networking daemon that can be used to access the p2p network. It establishes connections and maintains a Kademlia style DHT. Rest and websocket APIs are available for clients to communicate with the daemon.

Install

Pre-built installers which bundle the client and server components can be found here.

Depending on your system configuration you may need to install some additional dependencies. You can find more detailed, OS specific, instructions here.

To install just this server:

sudo pip install -r requirements.txt

Usage

python openbazaard.py start --help
usage: python openbazaard.py start [<args>]

Start the OpenBazaar server

optional arguments:
  -h, --help            show this help message and exit
  -d, --daemon          run the server in the background as a daemon
  -t, --testnet         use the test network
  -l LOGLEVEL, --loglevel LOGLEVEL
                        set the logging level [debug, info, warning, error,
                        critical]
  -p PORT, --port PORT  set the network port
  -a ALLOWIP, --allowip ALLOWIP
                        only allow api connections from this ip
  -r RESTAPIPORT, --restapiport RESTAPIPORT
                        set the rest api port
  -w WEBSOCKETPORT, --websocketport WEBSOCKETPORT
                        set the websocket api port
  -b HEARTBEATPORT, --heartbeatport HEARTBEATPORT
                        set the heartbeat port
  --pidfile PIDFILE     name of the pid file

Docker

Set Username and Password

cp .env.sample .env
nano ./.env

Build and run

docker-compose up

Backup

All relevant data will go to

./data

SSL Support

  • Generate certificate as described here

  • Place the server.crt and server.key into

./ssl
  • Enable SSL in
./docker-compose.yml

License

OpenBazaar Server is licensed under the MIT License.

More Repositories

1

openbazaar-go

OpenBazaar 2.0 Server Daemon in Go
Go
994
star
2

openbazaar-desktop

OpenBazaar 2.0 Desktop Client (talks to openbazaar-go server daemon)
JavaScript
647
star
3

OpenBazaar-Client

(DEPRECATED) Front-end Electron application for talking with the OpenBazaar-Server daemon
JavaScript
414
star
4

OpenBazaar-Installer

Process for building the OpenBazaar 1.0 executables on OSX, Linux and Windows
Python
124
star
5

go-onion-transport

Tor onion transport for IPFS
Go
110
star
6

spvwallet

P2P SPV Wallet/Library in Go used in OpenBazaar 2.0
Go
107
star
7

multiwallet

API based multi-cryptocurrency wallet
Go
72
star
8

smart-contracts

Collection of OpenBazaar smart contracts
JavaScript
65
star
9

openbazaar3-rust

Rust implementation of OpenBazaar 3.0
Rust
61
star
10

haven

JavaScript
31
star
11

libsignal

Custom implementation of the signal messaging protocol in Go
Go
27
star
12

openbazaar-awesome

Useful resources for using OpenBazaar and building things on top of it
20
star
13

docs

OpenBazaar documentation
19
star
14

wallet-interface

Interfaces for the openbazaar-go wallet
Go
18
star
15

go-ethwallet

Ethereum wallet used in OpenBazaar
Go
18
star
16

PressKit

This repository contains information for the media about the OpenBazaar project.
PostScript
12
star
17

official_site

OpenBazaar.org official site code
HTML
12
star
18

openbazaar-web

OpenBazaar 2.0 browser-based client.
JavaScript
10
star
19

obips

OpenBazaar Improvement Proposals
9
star
20

openbazaar.com

Browse only UI
HTML
9
star
21

wns

Worldwide OpenBazaar resource finder naming service (WorfNS)
JavaScript
6
star
22

tickerproxy

Price data feed for the OpenBazaar network
Go
6
star
23

webrelay

Relay node to bridge the browser and desktop networks
Go
5
star
24

mobile-server

Repo to store iOS framework and Android libraries for development; official releases are in the openbazaar-go repo.
4
star
25

feeproxy

Serve Bitcoin fee via standardized API
Go
3
star
26

ob2-importer

CSS
3
star
27

leveldb-repair

Repairs a corrupted leveldb instance.
Go
3
star
28

bitcoind-wallet

OpenBazaar plugin for a bitcoind based wallet
Go
2
star
29

go-blockstackclient

Resolve blockchainIDs to OpenBazaar IDs
Go
2
star
30

Teflon

p2p marketplace on Optimism Layer 2 leverage stablecoin and NFTs
1
star
31

official_docs

HTML
1
star
32

downloadcounter

It counts downloads
Go
1
star
33

jsonpb

Modified Protobuf to JSON serializer in Go
Go
1
star