MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / init

Function init

app/core/Engine.ts:1788–1792  ·  view source on GitHub ↗
(state: Record<string, never> | undefined, keyringState = null)

Source from the content-addressed store, hash-verified

1786 instance = null;
1787 },
1788 init(state: Record<string, never> | undefined, keyringState = null) {
1789 instance = Engine.instance || new Engine(state, keyringState);
1790 Object.freeze(instance);
1791 return instance;
1792 },
1793 acceptPendingApproval: async (
1794 id: string,
1795 requestData?: Record<string, Json>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected