As of V1.7 of Secret Network users can enable autocompounding SCRT staking with their respective validators.
The autostake feature will claim rewards for you and automatically delegate them back to the same validator. To receive your liquid rewards you will have to unbond.
The minimum amount of staked SCRT to use this feature is 10 SCRT!
You can query the restaking situation per delegator and receive a list with validator addresses for which the user has turned this feature on.
secretd query distribution restake-entries [delegator] [flags]
One must be staked before one can activate restaking. The following command can be used to activate restaking for the stake that is with that validator as long more tokens are bonded than
secretcli tx distribution set-auto-restaking [validator] [true/false] --from [delegator]
One can query the parameters for Restake using the command below
secretcli q distribution params
With the above command you will get the values for all parameters that can be set by Governance including:
minimum_restake_threshold- # of uSCRT required to enable restake
restake_period- The autocompouding frequency denominated in the # of blocks
One can also query the
restake-thresholddirectly. For now one can use a direct LCD CURL to get the information like: https://lcd.secret.express/cosmos/distribution/v1beta1/restake_threshold but a SecretCLI and Secret.JS query is being implemented.