简体   繁体   中英

Delegating additional stake to solana in the existing public key

Hello I have a stake account for Solana here is the link

https://explorer.solana.com/address/4EZRbSFYUQeuNCtY3Tv5tqprpTk9Ak7CZPzPsXKm1qLD/tokens?cluster=testnet

This is how I have created a stake account and funded some SO L to it

Create stake account

solana create-stake-account \
  --fee-payer wallet-keypair.json \
  --stake-authority wallet-keypair.json \
  --withdraw-authority wallet-keypair.json \
  --from wallet-keypair.json \
  stake-account.json 0.5

Delegate Stake

solana delegate-stake \
  --fee-payer wallet-keypair.json \
  --stake-authority wallet-keypair.json \
  4EZRbSFYUQeuNCtY3Tv5tqprpTk9Ak7CZPzPsXKm1qLD 7R5of8HZreWPjURAMupJuik7vx5SAGUghpwU648bWYnt

在此处输入图像描述

How to put an additional stake in the public key 4EZRbSFYUQeuNCtY3Tv5tqprpTk9Ak7CZPzPsXKm1qLD

It's a bit annoying, but you have to create and delegate a new stake account to the same validator, wait for the stake to activate, and then merge the new stake into the old stake. For example:

  • solana create-stake-account --fee-payer wallet-keypair.json \ --stake-authority wallet-keypair.json \ --withdraw-authority wallet-keypair.json \ --from wallet-keypair.json \ new-stake-account.json 0.5
  • solana delegate-stake solana delegate-stake \ --fee-payer wallet-keypair.json \ --stake-authority wallet-keypair.json \ new-stake-account.json 7R5of8HZreWPjURAMupJuik7vx5SAGUghpwU648bWYnt
  • wait for the stake to activate fully
  • solana --fee-payer wallet-keypair.json --stake-authority wallet-keypair.json merge-stake stake-account.json new-stake-account.json

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM