MCPcopy Create free account
hub / github.com/dfinity/orbit / init

Method init

apps/wallet/src/core/ic-agent.core.ts:15–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 }
14
15 async init(): Promise<void> {
16 if (this.isReady) {
17 return;
18 }
19
20 if (!appInitConfig.isProduction) {
21 await this.agent.fetchRootKey();
22 }
23
24 this.isReady = true;
25 }
26
27 get(): HttpAgent {
28 return this.agent;

Callers 2

loadIdentityMethod · 0.95
initializeAppFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected