Skip to main content

Midnight.js API Reference v1.0.0


Midnight.js API Reference / @midnight-ntwrk/midnight-js-level-private-state-provider / DEFAULT_CONFIG

Variable: DEFAULT_CONFIG

const DEFAULT_CONFIG: object

The default configuration for the level database.

Type declaration

midnightDbName

midnightDbName: string = MN_LDB_DEFAULT_DB_NAME

The name of the database.

privateStateStoreName

privateStateStoreName: string = MN_LDB_DEFAULT_PRIS_STORE_NAME

The name of the "level" on which to store private state.

signingKeyStoreName

signingKeyStoreName: string = MN_LDB_DEFAULT_KEY_STORE_NAME

The name of the "level" on which to store signing keys.