Skip to main content

Type Alias: ILocalKeySignerConfig

type ILocalKeySignerConfig: object;

The interface for the configuration object of LocalKeySigner.

Type declaration

mnemonic?

optional mnemonic: string;

The mnemonic to derive the private key. If the mnemonic is provided, privateKey will be ignored.

privateKey

privateKey: IPrivateKey;

The private key to sign the data.

Example

'4b3b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f'

Defined

@nilfoundation/niljs/src/signers/types/ILocalKeySignerConfig.ts:6