> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# zero-dev-extension

> [card] Recommended: JavaScript SDK for React Native
>
> While this SDK is still supported, we recommend using newer [JavaScript SDK](https://docs.dynamic.xyz/docs/javascript/reference/react-native-quickstart.md), which is optimized for React Native, but also comes with a host of other benefits.

The package that gives access to an [Extension](https://docs.dynamic.xyz/docs/react-native/reference/package-references/client.md#extension-method)
that allows integrating ZeroDev Kernel to our [client](https://docs.dynamic.xyz/docs/react-native/reference/client.md).

## Functions

### `ZeroDevExtension` method

```typescript theme={"system"}
ZeroDevExtension(): Extension<IZeroDevExtension>
```

A method that, when passed to the client instance, injects the following modules into it:

#### `zeroDev` module

Provides method to create zerodev kernel client.

| Property | Type | Description |
| - | - | - |
| `createKernelClient` | `(args: CreateKernelAccountClientArgs) => Promise<KernelAccountClient>` | Creates the ZeroDev Kernel client for a wallet. |

## Types

### `IZeroDevExtension` type

```typescript theme={"system"}
import { KernelAccountClient } from "@zerodev/sdk/clients";

type CreateKernelAccountClientArgs = {
  wallet: Wallet;
  bundlerProvider?: BundlerProvider;
  bundlerRpc?: string;
  paymasterRpc?: string;
  paymaster?: PaymasterType;
};

type IZeroDevExtension = {
  zeroDev: {
    createKernelClient: (
      args: CreateKernelAccountClientArgs
    ) => ReturnType<KernelAccountClient>;
  };
};
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.