> ## 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.

# Adding Stellar Extension

> Add Stellar blockchain support to your Dynamic client

Make sure you enable Stellar chain in the [Dynamic dashboard](https://app.dynamic.xyz/dashboard/chains-and-networks#stellar).

## Installation

```bash theme={"system"}
npm install @dynamic-labs-sdk/stellar
```

## Usage

Import and call `addStellarExtension` after creating your Dynamic client:

```javascript theme={"system"}
import { createDynamicClient } from '@dynamic-labs-sdk/client';
import { addStellarExtension } from '@dynamic-labs-sdk/stellar';

const dynamicClient = createDynamicClient({
  environmentId: 'YOUR_ENVIRONMENT_ID',
});

addStellarExtension();
```

This registers wallet providers for Stellar wallets that are installed in the
user's browser, including Freighter, Lobstr, and OneKey.

## Related functions

* [isStellarWalletAccount](/javascript/reference/stellar/checking-stellar-wallet-account-type) - Check if a wallet account is a Stellar account
* [signTransaction](/javascript/reference/stellar/sign-transaction) - Sign a Stellar transaction
