function · Browser and Node

# signerFromIdentity

Reuses a did:key identity's Ed25519 key.

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

Import:

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

## Declaration

Signature:

```ts
signerFromIdentity(id: Identity): Signer;
```

### Parameters

- **`id` (required)**: `Identity`

### Returns

`Signer`

[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/signerFromIdentity/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
