Canton dApp Booster
    Preparing search index...
    • A fake CIP-0103 extension wallet for tests. It speaks the real postMessage protocol, so it exercises the SDK's genuine ExtensionAdapter rather than a stub. Answers connect, status, listAccounts and disconnect; anything else rejects naming the method. Reach for createMockAdapter instead where the transport is not what is under test.

      Parameters

      Returns FakeWallet

      const wallet = createFakeWallet({ id: 'mock' })
      wallet.push('statusChanged', { connection: { isConnected: false } })
      wallet.dispose()