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

# Function: walletsKit()

# Function: walletsKit()

> **walletsKit**(`opts`, `injected?`): [`BuckspaySigner`](/sdk-reference/signers/src/social/interfaces/BuckspaySigner)

Defined in: [packages/signers/src/wallets-kit/signer.ts:26](https://github.com/bucks-pay/buckspay-sdk/blob/43ad599d2776cb5d657043c36847b3318093ccf4/packages/signers/src/wallets-kit/signer.ts#L26)

Build a `BuckspaySigner` backed by Stellar Wallets Kit (Freighter/xBull/LOBSTR).

Holds only the connected `G...` public key and the 64-byte signatures the wallet
returns - never a secret. The kit and address are memoized per signer instance,
so a signer is safe to construct once and reuse across many sign cycles. An
already-built kit may be injected (production app or tests); otherwise the
browser-only library is lazily imported on first use.

## Parameters

### opts

[`KitOptions`](/sdk-reference/signers/src/wallets-kit/interfaces/KitOptions)

### injected?

[`WalletsKitLike`](/sdk-reference/signers/src/wallets-kit/interfaces/WalletsKitLike)

## Returns

[`BuckspaySigner`](/sdk-reference/signers/src/social/interfaces/BuckspaySigner)
