# Interface: WriterKeySource

Defined in: [packages/core/src/node/writer-keys.ts:44](https://github.com/leifriksheim/minca/blob/main/core/src/node/writer-keys.ts#L44)

Where a node gets a lasting key. `claim` gives a key no one else is
signing with now, or null when it can't promise that — then the node makes
a key for this run alone, as it would without a source.

## Methods

### claim()

```ts
claim(): Promise<ClaimedWriter | null>;
```

Defined in: [packages/core/src/node/writer-keys.ts:45](https://github.com/leifriksheim/minca/blob/main/core/src/node/writer-keys.ts#L45)

#### Returns

`Promise`\<[`ClaimedWriter`](https://minca.dev/api/core/interfaces/ClaimedWriter.md) \| `null`\>
