Skip to content

Function client::owner::create_body

zaun_community_protocol::client::owner::create_body · Function

pub fn create_body<impl Into<String>>(genesis: &Genesis, member: &SecretKey, host_challenge: Challenge, display_name: impl Into<String>, now_ms: u64) -> Result<Create, BuildError>

The community.create body: the genesis pair, the owner’s member key and its registration (purpose 1) for the host’s current host_challenge (from the welcome).

BuildError::OwnerKey when member is not the owner binding; signing or body errors.

Full rustdoc page