Skip to main content

@midnight-ntwrk/midnight-js-level-private-state-provider v0.2.5 • API


Midnight.js API Reference v0.2.5 / @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.