interface · Browser and Node
InceptOptions
@toip-tools/eventlogView sourceimport { type InceptOptions } from "@toip-tools/eventlog";
Declaration
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
hotrequiredSigner[]Current keys.
coldoptionalColdKeys | undefinedThe rotation seed side. Optional when
nextis given.nextCountoptionalnumber | undefinedHow many next keys to derive from
cold. Default: as many ashot.extraNextoptionalstring[] | undefinedNext-key digests held by someone else, such as the agent's principal. Added after the cold ones. (Additive.)
nextoptionalstring[] | undefinedAll next-key digests, replacing cold and extraNext. (Additive.)
ktoptionalnumber | undefinedntoptionalnumber | undefinedwitnessesoptionalstring[] | undefinedbtoptionalnumber | undefinedanchorsoptionalSeal[] | undefineddataoptionalRecord<string, string | number | boolean> | undefinedA small data object put in the inception's
a, such as a device's messaging DID and key class. (Additive.)bindoptionalIdentity | undefinedSigns a DID binding with this identity and seals it in an ixn right after inception. (Additive.)
traitsoptionalstring[] | undefinedConfiguration traits: [] or ["DND"].
checkpointoptional{ everyEntries?: number; everyMs?: number; } | undefinedstorerequiredLogStoreclockrequiredClockverifyoptionalSigOptions | undefinedSignature options used when the controller checks its own log.