Crate hc_zome_profiles

Crate hc_zome_profiles 

Source
Expand description

§hc_zome_profiles

Profiles zome for any Holochain app.

If you need to manage profiles (nickname, name, avatar, age and other useful personal information) you can directly include this zome in your DNA.

Read about how to include both this zome and its frontend module in your application here.

Functions§

create_profile
Creates the profile for the agent executing this call.
entry_defs
get_agent_profile
Returns the profile for the given agent, if they have created it.
get_agents_profile
Returns the profiles for the given agents if they have created them.
get_all_profiles
Gets all the profiles that have been created in the network.
get_my_profile
Gets the profile for the agent calling this function, if they have created it.
search_profiles
From a search input of at least 3 characters, returns all the agents whose nickname starts with that prefix.
update_profile
Updates the profile for the agent executing this call.