Cardano

提供: ArchWiki
2023年2月24日 (金) 10:19時点におけるKusanaginoturugi (トーク | 投稿記録)による版 (→‎ノードの起動: 削除した記事を戻した)
ナビゲーションに移動 検索に移動

Cardanoは、プルーフ・オブ・ステークに基づくオープンソースのブロックチェーンプラットフォームです。その代表的な暗号通貨は Ada です。

ノードの起動

cardano-nodeAUR または cardano-node-binAURインストールします。cardano-node.service もインストールされ、開始できます。

デフォルトのログ出力は非常に冗長です。もし、それを調整したい場合は、適切な設定ファイル(おそらく /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