payment/staking keysとaddressの生成
資金を送受信するには、payment key pair(payment.vkeyとpayment.skey)とpayment address(payment.addr)が必要です。このセットを使用し、資金を管理できます。
ステークの委任またはステークプールの作成によってプロトコルに参加するには、stake key pair (stake.vkeyおよびstake.skey)とstake address (stake.addr)が必要です。
これにより、プロトコルに参加する権利を行使し、そのプロトコルに対する報酬を受け取ることができます。
payment key pairを生成します:
cardano-cli shelley address key-gen \
--verification-key-file payment.vkey \
--signing-key-file payment.skey
stake key pairを生成します:
cardano-cli shelley stake-address key-gen \
--verification-key-file stake.vkey \
--signing-key-file stake.skey
payment addressを生成します:
cardano-cli shelley address build \
--payment-verification-key-file payment.vkey \
--stake-verification-key-file stake.vkey \
--out-file payment.addr \
--testnet-magic 42
stake addressを生成します:
cardano-cli shelley stake-address build \
--stake-verification-key-file stake.vkey \
--out-file stake.addr \
--testnet-magic 42
Note: the parameter --testnet-magic 42 identifies the testnet. for mainnet use --mainnet
注意:パラメータ--testnet-magic 42はテストネットを識別します。
メインネット用はこちらを使用 --mainnet
詳しくはこちらのGithubの記事をご確認ください Creating Keys and Addresses