Staking integrations (Native Stake, LST Stake Pools, and Marinade) are only supported in staging programs. Code is pending audit. Use the --bypass-warning flag to acknowledge and proceed.
Native Staking
Manage native Solana stake accounts through the vault.
List Stake Accounts
List all stake accounts owned by the vault:
Displays each stake account’s address, lamport balance, and state (e.g., active, deactivating, inactive).
Deactivate Stake Accounts
Deactivate one or more stake accounts:
glam-cli stake deactivate <accounts...> [--yes]
<accounts...>: Space-separated public keys of stake accounts to deactivate
Withdraw from Stake Accounts
Withdraw SOL from deactivated stake accounts back to the vault:
glam-cli stake withdraw <accounts...> [--yes]
<accounts...>: Space-separated public keys of stake accounts to withdraw from
LST Stake Pools
Stake SOL into liquid staking token (LST) pools or unstake LSTs back to SOL.
Stake SOL
Stake SOL into a stake pool and receive LST tokens:
glam-cli lst stake <stakepool> <amount> [--yes]
<stakepool>: The stake pool address
<amount>: Amount of SOL to stake
Unstake LST
Unstake LST tokens and receive SOL in a stake account:
glam-cli lst unstake <asset> <amount> [--deactivate] [--yes]
<asset>: The LST mint address
<amount>: Amount of LST to unstake
--deactivate, -d: Automatically deactivate the resulting stake account
Marinade
Stake and unstake SOL through Marinade Finance.
Stake SOL (mSOL)
Stake SOL and receive mSOL:
glam-cli marinade stake <amount> [--yes]
Stake SOL (Native)
Stake SOL through Marinade Native (no mSOL token, direct stake account):
glam-cli marinade stake-native <amount> [--yes]
Withdraw Stake
Withdraw mSOL into a stake account:
glam-cli marinade withdraw-stake <amount> [--deactivate] [--yes]
<amount>: Amount of mSOL to withdraw
--deactivate, -d: Automatically deactivate the resulting stake account