@statechannels/server-wallet > DBAdmin > createDatabase

DBAdmin.createDatabase() method

Creates a database based on the database specified in the wallet configuration

Signature:

static createDatabase(config: IncomingWalletConfig): Promise<void>;

Parameters

ParameterTypeDescription
configIncomingWalletConfigThe wallet configuration object with a database specified

Returns:

Promise<void>