# RNAlchemySigner | @account-kit/rn-signer

> Overview of the RNAlchemySigner function from @account-kit/rn-signer

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function RNAlchemySigner(params): RNAlchemySignerSingleton;
```

Defined in: [account-kit/rn-signer/src/signer.ts:80](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/rn-signer/src/signer.ts#L80)

Factory function to create or retrieve a singleton instance of RNAlchemySigner.

## Example

```ts twoslash
import { RNAlchemySigner } from "@account-kit/react-native-signer";

const signer = RNAlchemySigner({
  client: {
    connection: {
      apiKey: "YOUR_API_KEY",
    },
  },
  // optional config to override default session manager configs
  sessionConfig: {
    expirationTimeMs: 1000 * 60 * 60, // 60 minutes
  },
});
```

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `params`
      </td>

      <td>
        `Object`
      </td>

      <td>
        The parameters required to configure the RNAlchemySigner instance.
      </td>
    </tr>

  </tbody>
</table>

## Returns

[`RNAlchemySignerSingleton`](../classes/RNAlchemySignerSingleton)

The singleton instance of RNAlchemySigner configured with the provided parameters.