# Engine.reset

Restores ox's default implementations.

## Imports

:::code-group
```ts [Named]
import { Engine } from 'ox/wasm'
```

```ts [Entrypoint]
import * as Engine from 'ox/wasm/Engine'
```
:::

## Examples

```ts twoslash
import { Engine } from 'ox'

Engine.reset('Hash')
Engine.reset()
```

## Definition

```ts
function reset(
  slot?: keyof engine.Engine,
): void
```

**Source:** [src/core/Engine.ts](https://github.com/wevm/ox/blob/main/src/core/Engine.ts#L181)

## Parameters

### slot

* **Type:** `keyof engine.Engine`
* **Optional**

Slot to reset. Resets every slot when omitted.

#### slot.Bls

* **Type:** `Bls`
* **Optional**

Implementation for [`Bls`](/api/Bls).

#### slot.Ed25519

* **Type:** `Eddsa`
* **Optional**

Implementation for [`Ed25519`](/api/Ed25519).

#### slot.Hash

* **Type:** `Hash`
* **Optional**

Implementation for [`Hash`](/api/Hash).

#### slot.Keystore

* **Type:** `Keystore`
* **Optional**

Implementation for [`Keystore`](/api/Keystore).

#### slot.Mnemonic

* **Type:** `Mnemonic`
* **Optional**

Implementation for [`Mnemonic`](/api/Mnemonic).

#### slot.P256

* **Type:** `Ecdsa`
* **Optional**

Implementation for [`P256`](/api/P256).

#### slot.Secp256k1

* **Type:** `Ecdsa`
* **Optional**

Implementation for [`Secp256k1`](/api/Secp256k1).

#### slot.X25519

* **Type:** `Ecdh`
* **Optional**

Implementation for [`X25519`](/api/X25519).

## Return Type

`void`
