The CandidAdapter class is used to interact with a canister and retrieve its Candid interface definition.
It provides methods to fetch the Candid definition either from the canister's metadata or by using a temporary hack method.
If both methods fail, it throws an error.
The
CandidAdapterclass is used to interact with a canister and retrieve its Candid interface definition. It provides methods to fetch the Candid definition either from the canister's metadata or by using a temporary hack method. If both methods fail, it throws an error.Example
Using
createReactorCorewithCandidAdapterYou can use the
candidAdapterto fetch the Candid definition and then pass it to thecreateReactorCorefunction.