The blokli_client allows sending and tracking arbitrary transactions, but requires a signed binary payload of the transaction content.
Different applications, such as the hoprnet/edge-client requires pre-run operations, e.g. safe creations, that require only the transaction payload that can be signed and submitted through the blokli-client, since the apps do not have access to an RPC endpoint.
The minimum requirements these applications make is to be able to:
- getting tickets stats
- pre-safe balance checks
- safe deployment
- funding
- balance updates
Minimum transaction payloads needed:
- build safe deployment from:
pub struct SafeModuleDeploymentInputs {
pub token_amount: U256,
pub nonce: U256,
pub admins: Vec<Address>,
}
- send hopr tokens
- send native