ステークプールを登録する
すべての運用ノード証明書とステークプールのコールド、KES、VRFキーを取得したら、ステークプールをブロックチェーンに登録する為、以下の作業が必要になります。
- ステークプールregistration certificateを作成します。
- 少なくとも保証額(delegation certificate)を自分のプールに委任する。
- トランザクションに含めることにより、プールregistration certificateとdelegation certificateをブロックチェーンに送信します。
例えばこのようにプールregistration certificate(pool.cert)を生成します。
cardano-cli shelley stake-pool registration-certificate \
--cold-verification-key-file cold.vkey \
--vrf-verification-key-file vrf.vkey \
--pool-pledge 100000000000 \
--pool-cost 10000000000 \
--pool-margin 0.05 \
--pool-reward-account-verification-key-file stake.vkey \
--pool-owner-stake-verification-key stake.vkey \
--testnet-magic 42 \
--out-file pool.cert
パラメーター | 説明 |
---|---|
stake-pool-verification-key-file | verification cold key |
vrf-verification-key-file | verification VRS key |
pool-pledge | pledge (lovelace) |
pool-cost | operational costs per epoch (lovelace) |
pool-margin | operator margin |
pool-reward-account-verification-key-file | verification staking key for the rewards |
pool-owner-staking-verification-key | verification staking key(s) for the pool owner(s) |
testnet-magic | identifies the testnet |
out-file | output file to write the certificate to |
delegation certificate(delegation.cert)を生成します。
cardano-cli shelley stake-address delegation-certificate \
--stake-verification-key-file stake.vkey \
--cold-verification-key-file cold.vkey \
--out-file delegation.cert
ステークプールを登録するには、tesntet genesis.jsonファイルで指定されているように、500000000ラブレース(500 Ada)のデポジットが必要です。このデポジットは、ステークプールを登録するトランザクションに含まれています。
"poolDeposit": 500000000
詳しい方法についてGituhubの次の記事をご確認ください:Register a Stake Pool with Metadata