API App Variables

Note: Full reference is available in language-specific API Reference documentation.

For the Rust hdk, see here

Name Purpose
DNA_NAME Name of the Holochain DNA taken from the DNA.
DNA_HASH The hash of the DNA
AGENT_ID_STR The identity string used to initialize this Holochain
AGENT_ADDRESS The address (constructed from the public key) of this agent.
AGENT_INITIAL_HASH The hash of the first identity entry on the local chain.
AGENT_LATEST_HASH The hash of the most recent identity entry that has been committed to the local chain.

suggest an edit