hopr_chain_types::utils

Function fund_node

Source
pub async fn fund_node<M: Middleware>(
    node: Address,
    native_token: U256,
    hopr_token: U256,
    hopr_token_contract: HoprToken<M>,
)
Expand description

Funds the given wallet address with specified amount of native tokens and HOPR tokens. These must be present in the client’s wallet.