OpenBazaar

OpenBazaar is an open source project developing a protocol for e-commerce transactions in a fully decentralized marketplace using cryptocurrencies.

This is experimental software. Use at your own risk.

Installation

The openbazaarAUR package provides the client and openbazaardAUR provides the server.

Start server

You can view the configuration options with openbazaard start --help.

We will use Tor for more anonymity and --allowip=127.0.0.1 so only you have access to your server.

Also consider the options --password= to encrypt the database, and --disablewallet to disable the wallet functionality of the node.

As user

We will store the server files in .

As user with Tor Browser

This setup requires less configuration but requires starting Tor Browser first. see

Run as user:

$ openbazaard start -d ~/.local/share/openbazaar --tor --allowip=127.0.0.1 --verbose

with the option, the server will use your Tor Browser as the Tor entry node.

As user with Tor

To use your system-wide Tor proxy, you must configure Tor first.

Choose a password to secure your Tor Control Port. Run

$ tor --hash-password password

to get the password hash.

Add to your file:

ControlPort 9051
HashedControlPassword ''hash''

setting HashedControlPassword to your password hash.

Now you can start the server as user:

$ openbazaard start -d ~/.local/share/openbazaar --torpassword=your_tor_control_password --allowip=127.0.0.1 --verbose

setting to your Tor password.

System-wide

We will store the server files in .

openbazaard will run as user in group .

We will use system-wide Tor, not Tor Browser.

Read section #As user with Tor to configure Tor.

Edit server configuration file :

# OB_ARGS="-d /var/lib/openbazaar --torpassword=your_tor_control_password --allowip=127.0.0.1 --verbose"

To init the server files:

# mkdir /var/lib/openbazaar
# chown openbazaar:openbazaar /var/lib/openbazaar
# chmod 0700 /var/lib/openbazaar

The systemd service seems broken at the moment. It will look good, but not start the server. will only show your database status, and whether tor is available. it will not show, whether server is running.

Instead, run:

# source /etc/conf.d/openbazaard
# sudo -u openbazaar openbazaard start $OB_ARGS

You should see some ASCII art:

... along with error-free log messages.

Wait for:

[INFO] [cmd/newHTTPGateway] Gateway/API server listening on /ip4/127.0.0.1/tcp/4002

For more server configuration, see

$ openbazaard gencerts --help
$ openbazaard setapicreds --help

To generate SSL certificates, or set username and password for 'API access' to allow clients to connect. Both will need the option -d dir or

Start client

Run as user.

The default server configuration should be fine.

If your server admin did configure a login with then fill the Username and Password fields.

To connect to a tor-hidden server, set Server IP to the address, activate Use Tor, and enter your_tor_control_password to connect via your system tor node.

Otherwise, when using the localhost server, the Use Tor setting should not be needed.

gollark: Technically yes but I can't be bothered.
gollark: There are probably statistical tests we could apply. Also we would need to obtain MANY dataeoforms.
gollark: I hope not! This would undermine public trust in quantitative gay analysis!
gollark: What? The bots' reports aren't even stable.
gollark: !howgay <@509849474647064576>

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.