Skip to main content

Function: createBuckspayConfig()

createBuckspayConfig(config, sim?): object
Defined in: packages/core/src/config.ts:32 Wrap a client so each method drives a vanilla store status machine. The wrapper re-throws after recording the error, so callers still try/catch.

Parameters

config

BuckspayConfig

sim?

AccountSimContext

Returns

object

client

client: BuckspayClient

store

store: StoreApi<BuckspayState>