function RNAlchemySigner(params): RNAlchemySignerSingleton;Defined in: account-kit/rn-signer/src/signer.ts:80
Factory function to create or retrieve a singleton instance of RNAlchemySigner.
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
},
});| Parameter | Type | Description |
|---|---|---|
| { | The parameters required to configure the RNAlchemySigner instance. |
| | | ‐ |
| { | ‐ |
|
| ‐ |
|
| ‐ |
The singleton instance of RNAlchemySigner configured with the provided parameters.