Account Address
Each stake account has a unique address which can be used to look up the account information in the command line or in any network explorer tools. However, unlike a wallet address in which the holder of the address’s keypair controls the wallet, the keypair associated with a stake account address does not necessarily have any control over the account. In fact, a keypair or private key may not even exist for a stake account’s address. The only time a stake account’s address has a keypair file is when creating a stake account using the command line tools. A new keypair file is created first only to ensure that the stake account’s address is new and unique.Understanding Account Authorities
Certain types of accounts may have one or more signing authorities associated with a given account. An account authority is used to sign certain transactions for the account it controls. This is different from some other blockchain networks where the holder of the keypair associated with the account’s address controls all of the account’s activity. Each stake account has two signing authorities specified by their respective address, each of which is authorized to perform certain operations on the stake account. The stake authority is used to sign transactions for the following operations:- Delegating stake
- Deactivating the stake delegation
- Splitting the stake account, creating a new stake account with a portion of the funds in the first account
- Merging two stake accounts into one
- Setting a new stake authority
- Withdrawing un-delegated stake into a wallet address
- Setting a new withdraw authority
- Setting a new stake authority
Multiple Delegations
Each stake account may only be used to delegate to one validator at a time. All of the tokens in the account are either delegated or un-delegated, or in the process of becoming delegated or un-delegated. To delegate a fraction of your tokens to a validator, or to delegate to multiple validators, you must create multiple stake accounts. This can be accomplished by creating multiple stake accounts from a wallet address containing some tokens, or by creating a single large stake account and using the stake authority to split the account into multiple accounts with token balances of your choosing. The same stake and withdraw authorities can be assigned to multiple stake accounts.Merging stake accounts
Two stake accounts that have the same authorities, and the same lockup unless both lockups have expired, can be merged into a single resulting stake account. A merge is possible between two stakes in the following states with no additional conditions:- two deactivated stakes
- an inactive stake into an activating stake during its activation epoch
- two activated stakes
- two activating accounts that share an activation epoch, during the activation epoch