Home
Packages
Forums
Wiki
GitLab
Security
AUR
Download
コンテンツにスキップ
メインメニュー
メインメニュー
サイドバーに移動
非表示
案内
メインページ
目次
コミュニティに貢献
最近の出来事
おまかせ表示
特別ページ
交流
ヘルプ
貢献
最近の更新
最近の議論
新しいページ
統計
リクエスト
ArchWiki
検索
検索
表示
アカウント作成
ログイン
個人用ツール
アカウント作成
ログイン
Btcpayserverのソースを表示
ページ
議論
日本語
閲覧
ソースを閲覧
履歴を表示
ツール
ツール
サイドバーに移動
非表示
操作
閲覧
ソースを閲覧
履歴を表示
全般
リンク元
関連ページの更新状況
ページ情報
表示
サイドバーに移動
非表示
←
Btcpayserver
あなたには「このページの編集」を行う権限がありません。理由は以下の通りです:
この操作は、次のグループに属する利用者のみが実行できます:
登録利用者
。
このページのソースの閲覧やコピーができます。
[[Category:ウェブアプリケーション]] BTCPayServer is an open source payment processor for crypto currencies licensed under the MIT license. While Bitcoin is supported natively, other crypto currencies are supported via extensions. The software is written in C# and is accessed over the web browser. The core idea of the project is to give merchants full control over payments without a middleman. == Installation == [[Install]] the package {{AUR|btcpayserver}}. == Configuration == === Bitcoin === BTCPayServer communicates with the Bitcoin node via RPC. For this, those values need to be set. Edit {{ic|/etc/bitcoin/bitcoin.conf}} and set {{ic|1=rpcuser=}} and {{ic|1=rpcpassword=}}. Moreover, a whitelist must be defined with {{ic|1=whitelist=127.0.0.1}}. {{Note|Bitcoin requires several hundreds GiB of disk space. You may want to run a pruned node. This is done by uncommenting {{ic|1=prune=550}} in {{ic|/etc/bitcoin/bitcoin.conf}}.}} === Optional configuration === Usage of the lightning network is optional. Information on the lightning connection string can be found [https://github.com/btcpayserver/BTCPayServer.Lightning here]. Decide for one lightning implementation. ==== LND ==== Execute {{ic|lnd}} as a private key needs to be generated. Then, execute {{ic|lncli create}} and create your needed wallet or restore an existing one. Edit {{ic|/etc/bitcoin/bitcoin.conf}} and add the following settings. {{bc|1=<nowiki/> zmqpubrawblock=tcp://127.0.0.1:28332 zmqpubrawtx=tcp://127.0.0.1:28333 }} == Usage == [[Start/enable]] {{ic|bitcoind.service}} === Lightning === ==== Core Lightning ==== {{ic|lightningd --bitcoin-rpcpassword "${bitcoin_rpc_password}" --bitcoin-rpcuser "${USER}" --log-level info --network bitcoin --rpc-file "${XDG_STATE_HOME}"/lightning/lightning-rpc}} ==== LND ==== {{ic|lnd --bitcoin.active --bitcoin.mainnet --bitcoin.node bitcoind --bitcoind.rpcpass "${bitcoin_rpc_password}" --bitcoind.rpcuser "${USER}" --bitcoind.zmqpubrawblock tcp://127.0.0.1:28332 --bitcoind.zmqpubrawtx tcp://127.0.0.1:28333 --externalip localhost}} {{ic|lncli unlock}} === NBXplorer === {{ic|1=nbxplorer --btcrpcpassword "${bitcoin_rpc_password}" --btcrpcuser "${USER}" -d "${XDG_DATA_HOME}"/nbxplorer/ --postgres "User ID=\"${USER}\";Password=\"${postgresql_password}\";Host=localhost;Port=5432;Database=nbxplorer;"}} === BTCPayServer === When running no lightning node, just skip the option {{ic|--btclightning}}. ==== With Core Lightning ==== {{ic|1=btcpayserver --btclightning type=clightning;unix://"${XDG_STATE_HOME}"/lightning/lightning-rpc -d "${XDG_DATA_HOME}"/btcpayserver/ --explorerpostgres "User ID=\"${USER}\";Password=\"${postgresql_password}\";Host=localhost;Port=5432;Database=nbxplorer;\" --sqlitefile btcpayserver.db}} ==== With LND ==== {{ic|1=btcpayserver --btclightning type=lnd-rest;server=https://127.0.0.1:8080/;macaroonfilepath=/home/"${USER}"/.lnd/data/chain/bitcoin/mainnet/admin.macaroon;certthumbprint="$(openssl x509 -noout -fingerprint -sha256 -in ~/.lnd/tls.cert {{!}} sed -e "s/.*=//;s/://g")" -d "${XDG_DATA_HOME}\"/btcpayserver/ --explorerpostgres "UserID=\"${USER}\";Password=${postgresql_password};Host=localhost;Port=5432;Database=nbxplorer;\" --sqlitefile btcpayserver.db}}
このページで使用されているテンプレート:
テンプレート:AUR
(
ソースを閲覧
)
テンプレート:Bc
(
ソースを閲覧
)
テンプレート:Ic
(
ソースを閲覧
)
テンプレート:Note
(
ソースを閲覧
)
Btcpayserver
に戻る。
検索
検索
Btcpayserverのソースを表示
話題を追加