Expand description
Other Resources
- Source code - github.com/holochain/portal-dna
- Cargo package - crates.io/crates/hc_portal_sdk
Re-exports§
pub use hdk_extensions::hdi;
pub use hdk_extensions::holo_hash;
pub use hdk_extensions::hdk;
pub use hdk_extensions::hdi_extensions;
pub use hdk_extensions;
pub use rmpv;
pub use hc_crud;
pub use portal_types;
Macros§
- call_
local_ cell - Call a local cell zome function
- call_
local_ cell_ decode - Call a local cell zome function and decode the response
- register
- Register a list of zome/functions in a locally running portal cell
- register_
if_ exists - Same as
register!
but will fail silently if the portal cell is not present
Structs§
- Custom
Remote Call Input - Input required for a remote call to a specific host
- DnaZome
Function - Properties required for selecting a viable host
- Listed
Functions - Define a list of zome function pairs
- Register
Host Input - Define a list of zome function pairs for a specific DNA
- Register
Input - Input required for macros
register
andregister_if_exists
- Remote
Call Details - Fields required for making a zome call
Functions§
- path
- Path creation helper
- zome_
call_ response_ as_ result - Translate
ZomeCallResponse
into aResult
Type Aliases§
- Payload
- A type for de/serializing any data
- Remote
Call Input - Input required for a remote call
- Zome
Function - Define a zome function pair