interface · Browser and Node

# InceptOptions

`@toip-tools/eventlog` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/eventlog/src/controller.ts#L15)

Import:

```ts
import { type InceptOptions } from "@toip-tools/eventlog";
```

## Declaration

interface:

```ts
interface InceptOptions {
  /** Current keys. */
  hot: Signer[];
  /** The rotation seed side. Optional when `next` is given. */
  cold?: ColdKeys;
  /** How many next keys to derive from `cold`. Default: as many as `hot`. */
  nextCount?: number;
  /** Next-key digests held by someone else, such as the agent's principal. Added after the cold ones. (Additive.) */
  extraNext?: Qb64[];
  /** All next-key digests, replacing cold and extraNext. (Additive.) */
  next?: Qb64[];
  kt?: number;
  nt?: number;
  witnesses?: Qb64[];
  bt?: number;
  anchors?: Seal[];
  /** A small data object put in the inception's `a`, such as a device's messaging DID and key class. (Additive.) */
  data?: Record<string, string | number | boolean>;
  /** Signs a DID binding with this identity and seals it in an ixn right after inception. (Additive.) */
  bind?: Identity;
  /** Configuration traits: [] or ["DND"]. */
  traits?: string[];
  checkpoint?: { everyEntries?: number; everyMs?: number };
  store: LogStore;
  clock: Clock;
  /** Signature options used when the controller checks its own log. */
  verify?: SigOptions;
}
```

## Properties

**`hot` (required)**

`Signer[]`

Current keys.

**`cold` (optional)**

`ColdKeys | undefined`

The rotation seed side. Optional when `next` is given.

**`nextCount` (optional)**

`number | undefined`

How many next keys to derive from `cold`. Default: as many as `hot`.

**`extraNext` (optional)**

`string[] | undefined`

Next-key digests held by someone else, such as the agent's principal. Added after the cold ones. (Additive.)

**`next` (optional)**

`string[] | undefined`

All next-key digests, replacing cold and extraNext. (Additive.)

**`kt` (optional)**

`number | undefined`

**`nt` (optional)**

`number | undefined`

**`witnesses` (optional)**

`string[] | undefined`

**`bt` (optional)**

`number | undefined`

**`anchors` (optional)**

`Seal[] | undefined`

**`data` (optional)**

`Record<string, string | number | boolean> | undefined`

A small data object put in the inception's `a`, such as a device's messaging DID and key class. (Additive.)

**`bind` (optional)**

`Identity | undefined`

Signs a DID binding with this identity and seals it in an ixn right after inception. (Additive.)

**`traits` (optional)**

`string[] | undefined`

Configuration traits: \[\] or \["DND"\].

**`checkpoint` (optional)**

`{ everyEntries?: number; everyMs?: number; } | undefined`

**`store` (required)**

`LogStore`

**`clock` (required)**

`Clock`

**`verify` (optional)**

`SigOptions | undefined`

Signature options used when the controller checks its own log.

[Usage guide](https://toip.tools/toolkit/eventlog/#usage) · [Error handling](https://toip.tools/toolkit/eventlog/#errors) · [All exports](https://toip.tools/toolkit/eventlog/api/)

---

This is the Markdown version of https://toip.tools/toolkit/eventlog/api/InceptOptions/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
