Staking functions

Stake

Transfer XNT to stake account:

solana transfer <STAKE_PUBKEY> 1000

Do delegate stake operation:

solana delegate-stake stake.json vote.json

Check condition of a stake:

solana stake-account stake.json

Deactivate stake

Get stake account:

solana account stake.json

Deactivate stake:

solana deactivate-stake <STAKE_PUBKEY>

See un-staking progress:

solana stake-account stake.json

Withdraw stake

Leave some XNT for unstaking fee.

Delegate a stake (to someone else)

Create a new stake account

Include the vote account of the one you want to stake to.

Create stake account on ledger and send XN/SOL to it

Delegate stake

Check stake

You cant ad to an ongoing stake. Either unstake, let the epoch run and stake again or create a new stake account and stake separately without unstaking anything.

Last updated