golem-base-sdk
    Preparing search index...

    Function createClient

    • Create a client to interact with GolemBase

      Parameters

      • chainId: number

        The ID of the chain you are connecting to

      • accountData: AccountData

        Either a private key or a wallet provider for the user's account

      • rpcUrl: string

        JSON-RPC URL to talk to

      • wsUrl: string

        WebSocket URL to talk to

      • logger: Logger<ILogObj> = ...

        Optional logger instance to use for logging

      Returns Promise<GolemBaseClient>

      A client object