Skip to content

giveth:stake

Stake GIV for GIVpower, approving the staking contract automatically when needed. Pass max as the amount to stake the full GIV balance; a zero amount does nothing. On Gnosis GIV is wrapped into gGIV through the GIVgarden (which auto-stakes it); on Optimism and Polygon zkEVM it is staked directly. Staked GIV earns GIVstream rewards and can be locked for more GIVpower.

giveth:stake <amount>
NameTypeDescription
amountcommand | numberAmount of GIV to stake in base units (wei), or the keyword max for the full GIV balance (see @giveth:stakable)
NameTypeDescription
--no-approveboolSkip the automatic allowance check and approve action
# Stake 100 GIV for GIVpower (auto-approves)
giveth:stake 100e18
# Stake every GIV in the wallet
giveth:stake max

Staked GIV earns rewards (harvest them with giveth:claim) and counts as GIVpower you can use to boost projects on giveth.io. Lock it with giveth:lock to multiply its power. On Gnosis staking wraps GIV into gGIV through the GIVgarden; on Optimism and Polygon zkEVM it deposits into the UnipoolGIVpower contract.

Commands that produce nothing (claiming with nothing accrued, staking a zero balance) simply emit no transaction, and max amounts count the pending effects of earlier commands in the same script. Maxing out GIVpower on a chain therefore needs no guards or bookkeeping:

load giveth
giveth:claim
giveth:stake max
giveth:lock max 26