「OpenBazaar」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(英語版より新規作成)
 
(一部翻訳)
8行目: 8行目:
 
{{Accuracy|No citation for experimental warning. Some sentences miss articles.}}
 
{{Accuracy|No citation for experimental warning. Some sentences miss articles.}}
   
  +
[[Wikipedia:OpenBazaar|OpenBazaar]] は、暗号通貨を使用した完全に分散型のマーケットプレイスでの電子商取引トランザクションのプロトコルを開発するオープンソースプロジェクトです。
[[Wikipedia: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 {{AUR|openbazaar}} package provides the client and {{AUR|openbazaard}} provides the server.
+
{{AUR|openbazaar}} パッケージがクライアントを提供し、{{AUR|openbazaard}} がサーバーを提供します。
   
== Start server ==
+
== サーバーの起動 ==
   
You can view the configuration options with {{ic|openbazaard start --help}}.
+
{{ic|openbazaard start --help}} で設定オプションを表示できます。
   
We will use [[Tor]] for more anonymity and {{ic|1=--allowip=127.0.0.1}} so only you have access to your server.
+
より匿名性を高めるために [[Tor]] を使用し、{{ic|1=--allowip=127.0.0.1}} を使ってサーバーへのアクセスを自分自身に限定します。
   
Also consider the options {{ic|1=--password=}} to encrypt the database, and {{ic|--disablewallet}} to disable the wallet functionality of the node.
+
また、データベースを暗号化するためのオプション {{ic|1=--password=}} と、ノードのウォレット機能を無効にする {{ic|--disablewallet}} も検討してください。
   
 
=== As user ===
 
=== As user ===

2023年9月6日 (水) 18:27時点における版

関連記事

この記事またはセクションの正確性には問題があります。
理由: No citation for experimental warning. Some sentences miss articles. (議論: トーク:OpenBazaar#)

OpenBazaar は、暗号通貨を使用した完全に分散型のマーケットプレイスでの電子商取引トランザクションのプロトコルを開発するオープンソースプロジェクトです。

これは実験的なソフトウェアです。自己責任で使用してください。

インストール

openbazaarAUR パッケージがクライアントを提供し、openbazaardAUR がサーバーを提供します。

サーバーの起動

openbazaard start --help で設定オプションを表示できます。

より匿名性を高めるために Tor を使用し、--allowip=127.0.0.1 を使ってサーバーへのアクセスを自分自身に限定します。

また、データベースを暗号化するためのオプション --password= と、ノードのウォレット機能を無効にする --disablewallet も検討してください。

As user

We will store the server files in ~/.local/share/openbazaar.

As user with Tor Browser

This setup requires less configuration but requires starting Tor Browser first. see torbrowser-launcher-gitAUR

Run as user:

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

with the --tor 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 /etc/tor/torrc 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 --torpassword to your Tor password.

System-wide

We will store the server files in /var/lib/openbazaar.

openbazaard will run as user openbazaar in group openbazaar.

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

Read section #As user with Tor to configure Tor.

Edit server configuration file /etc/conf.d/openbazaard:

# 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
この記事またはセクションの正確性には問題があります。
理由: This section was written 2018-10-10: is the following section still relevant? (議論: トーク:OpenBazaar#)

The openbazaard systemd service seems broken at the moment. It will look good, but not start the server. openbazaard status 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 --datadir=dir

Start client

Run openbazaar as user.

The default server configuration should be fine.

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

To connect to a tor-hidden server, set Server IP to the .onion 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.

See also