Skip to main content

publish_manifest

Function publish_manifest 

Source
pub async fn publish_manifest(
    manifest: &BotManifest,
    keys: &Keys,
    relays: &[String],
) -> Result<usize, String>
Expand description

Publish manifest as the signed replaceable event over the given relays (targeted send — the caller decides the reach: login relays, communities, indexers). Returns how many relays accepted it.