「Cardano」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(一部飜訳)
(→‎ノードの起動: 重複削除)
5行目: 5行目:
   
 
== ノードの起動 ==
 
== ノードの起動 ==
 
[[Install]] {{AUR|cardano-node}} または {{AUR|cardano-node-bin}} を[[インストール]]します。{ic|cardano-node.service}} もインストールされ、[[開始]]することができるようになります。
 
   
 
デフォルトでは、ログ出力は非常に冗長です。もし、それを調整したい場合は、適切な設定ファイル(おそらく {{ic|/var/lib/cardano-node/config}} の下の {{ic|mainnet-config.json}} )を見つけ、次のように変更してください。
 
デフォルトでは、ログ出力は非常に冗長です。もし、それを調整したい場合は、適切な設定ファイル(おそらく {{ic|/var/lib/cardano-node/config}} の下の {{ic|mainnet-config.json}} )を見つけ、次のように変更してください。

2023年2月24日 (金) 10:12時点における版

Cardano is an open-source blockchain platform based on proof-of-stake. Its flagship cryptocurrency is Ada. Cardanoは、プルーフ・オブ・ステークに基づくオープンソースのブロックチェーンプラットフォームです。その代表的な暗号通貨は Ada です。

ノードの起動

デフォルトでは、ログ出力は非常に冗長です。もし、それを調整したい場合は、適切な設定ファイル(おそらく /var/lib/cardano-node/config の下の mainnet-config.json )を見つけ、次のように変更してください。

"TracingVerbosity": "MinimalVerbosity",
"minSeverity": "Warning",

ウォレットを使う

Adaをサポートする ウォレットはいくつかあります。このサイトでは、CLIツールであるcardano-walletは紹介しません。

cardano ウォレット

Install either cardano-walletAUR or cardano-wallet-binAUR. The latter will also install a systemd service, so you can start cardano-wallet.service (after also starting the node).

Again, the default logging is quite verbose, and also the wallet will simply stay in memory by default. If you wish to tune down the logging, and write the wallet to disk, edit the systemd service file:

cardano-wallet.service 
[Unit]
Description=Cardano wallet
Requires=network.target

[Service]
Type=simple
EnvironmentFile=/etc/conf.d/cardano-node
ExecStart=cardano-wallet serve --mainnet \
    --log-level WARNING \
    --database /path/to/your/wallet \
    --node-socket $SOCKET_PATH
KillSignal=SIGINT
Restart=always
RestartSec=60
User=cardano
TimeoutStopSec=90

[Install]
WantedBy=multi-user.target