コンテンツにスキップ

RISEの自己委任

バリデーターは、ステーキング報酬を得るためにRISEを自己委任することができます。

RISEを委任する方法は、トークンが通常のウォレット残高にあるか、ロックアップアカウントにあるかによって異なります。それぞれの場合で使用するモジュールとコマンドは異なります。


ウォレットに直接保有されているRISEを委任するには、x/shareclassモジュールのnon-voting-delegateコマンドを使用します。

使用法:

ターミナル
sunrised tx shareclass non-voting-delegate [validator_address] [amount] [flags]

例:

ターミナル
# バリデーターアドレスを取得
VALIDATOR_ADDRESS=$(sunrised keys show <your_validator_key> --bech val -a)
# 委任を実行
sunrised tx shareclass non-voting-delegate $VALIDATOR_ADDRESS 10000000urise \
--from <your_validator_key> \
--chain-id <your_chain_id> \
--gas-prices=0.025uusdrise --gas-adjustment 1.2 \
--gas=auto \
-y

x/shareclassモジュールのclaim-rewardsコマンドを使用して、蓄積されたステーキング報酬を請求します。報酬はウォレットに送られます。

使用法:

ターミナル
sunrised tx shareclass claim-rewards [validator_address] [flags]

例:

ターミナル
VALIDATOR_ADDRESS=$(sunrised keys show <your_validator_key> --bech val -a)
sunrised tx shareclass claim-rewards $VALIDATOR_ADDRESS \
--from <your_validator_key> \
--chain-id <your_chain_id> \
--gas-prices=0.025uusdrise --gas-adjustment 1.2 \
--gas=auto \
-y

ロックアップの一部であるRISE(例:エアドロップから)を委任するには、x/lockupモジュールを使用する必要があります。

まず、委任したいロックアップアカウントのIDを特定する必要があります。lockup-accountsクエリを使用して、キーが所有するすべてのロックアップアカウントを一覧表示できます。

使用法:

ターミナル
sunrised query lockup lockup-accounts [owner] [flags]

例:

ターミナル
OWNER_ADDRESS=$(sunrised keys show <your_validator_key> -a)
sunrised query lockup lockup-accounts $OWNER_ADDRESS --output json

このコマンドの出力から、正しいアカウントを見つけてそのidをメモします。

ロックアップアカウントIDを取得したら、x/lockupモジュールのnon-voting-delegateコマンドを使用します。

使用法:

ターミナル
sunrised tx lockup non-voting-delegate [lockup_account_id] [validator_address] [amount] [flags]

例:

ターミナル
LOCKUP_ID="<your_lockup_account_id>"
VALIDATOR_ADDRESS=$(sunrised keys show <your_validator_key> --bech val -a)
sunrised tx lockup non-voting-delegate $LOCKUP_ID $VALIDATOR_ADDRESS 10000000urise \
--from <your_validator_key> \
--chain-id <your_chain_id> \
--gas-prices=0.025uusdrise --gas-adjustment 1.2 \
--gas=auto \
-y

x/lockupモジュールのclaim-rewardsコマンドを使用します。

使用法:

ターミナル
sunrised tx lockup claim-rewards [lockup_account_id] [flags]

例:

ターミナル
LOCKUP_ID="<your_lockup_account_id>"
sunrised tx lockup claim-rewards $LOCKUP_ID \
--from <your_validator_key> \
--chain-id <your_chain_id> \
--gas-prices=0.025uusdrise --gas-adjustment 1.2 \
--gas=auto \
-y

これらの委任および報酬請求操作は、Sunriseアプリインターフェースを介して簡単に行うこともできます。

詳細については、次のドキュメントを参照してください。