hopr_strategy

Module auto_funding

Source
Expand description

§Auto Funding Strategy

This strategy listens for channel state change events to check whether a channel has dropped below min_stake_threshold HOPR. If this happens, the strategy issues a fund channel transaction to re-stake the channel with funding_amount HOPR.

For details on default parameters see AutoFundingStrategyConfig.

Structs§

AutoFundingStrategy
The AutoFundingStrategy automatically funds channel that dropped it’s staked balance below the configured threshold.
AutoFundingStrategyConfig
Configuration for AutoFundingStrategy