Canton dAppBooster
    Preparing search index...

    What the machine needs to build and drive its own DappSDK. Read once, at actor creation: as in wagmi, a config swapped afterwards reaches the hooks but not the connection lifecycle.

    import { DappSDK } from '@canton-network/dapp-sdk'
    import { createActor } from 'xstate'
    import { connectionMachine } from '#src/machine/connectionMachine'

    const createSdk = () => new DappSDK({})
    const input = { createSdk, initOptions: {}, guardPicker: true }
    createActor(connectionMachine, { input })
    type ConnectionInput = {
        createSdk: () => DappSdkMethods;
        guardPicker: boolean;
        initOptions: InitOptions;
    }
    Index
    createSdk: () => DappSdkMethods
    guardPicker: boolean
    initOptions: InitOptions