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

# Offchain subnames

> Create and manage offchain ENS subnames in the Namespace App.

Create ENS subnames under a name you own in the [Namespace App](https://app.namespace.ninja/offchain). Namespace stores these subnames and their records offchain. They are not minted as onchain NFTs. ENS clients resolve their records through CCIP Read.

Creating, editing, and deleting offchain subnames and their records is free. These actions require no blockchain transactions or gas fees.

## What you can do

* Create, edit, and delete subnames under your ENS name.
* Set EVM and non-EVM addresses, profile and social text records, and a content hash.
* Index subnames by their optional owner address.
* Manage subnames in the app or automate through the SDK and API.

![Namespace Developer Portal introduction with subname, record, and API-key management tools](https://mintcdn.com/namespace-1f56cc70/3A9Yy6VPLxpgOcjQ/assets/dev-app.png?fit=max\&auto=format\&n=3A9Yy6VPLxpgOcjQ\&q=85\&s=8fdca054aa90673310112e688f03c2fc)

## Configure the resolver

Set the parent ENS name to use the Namespace Hybrid Resolver. This initial setup requires an onchain transaction and gas fees. Skip this section if resolution is already configured.

> [!TIP]
>
> If you upgrade an ENSv1 name to ENSv2, the upgrade resets its resolver. Run these steps again afterwards. See [Namespace ENSv2 migration](https://docs.namespace.ninja/overview/ensv2.md#what-happens-if-i-upgrade-my-name-to-ensv2).

**1. Select your parent name**

Connect the wallet that owns the ENS name. In **Offchain**, select the name and open **Resolution**.

**2. Update the resolver**

Click **Update resolver** and confirm in your wallet. Skip this step if it shows **Updated**.

![Resolution tab with Update resolver and Configure buttons for the selected parent name](https://mintcdn.com/namespace-1f56cc70/jCFjMGQRgMnZbKE1/assets/offchain/update-resolver.webp?fit=max\&auto=format\&n=jCFjMGQRgMnZbKE1\&q=85\&s=2e8084eff464384dd02e9cc5d7e78521)

**3. Configure offchain resolution**

Click **Configure** and complete the wallet prompts. Check that the status reads **Configured**.

![Resolution setup completed with Updated and Configured statuses](https://mintcdn.com/namespace-1f56cc70/jCFjMGQRgMnZbKE1/assets/offchain/resolver-configured.webp?fit=max\&auto=format\&n=jCFjMGQRgMnZbKE1\&q=85\&s=5080948218cbab0351d7f6863ded5510)

## Create and manage subnames

**1. Open the creation form**

Select the parent name in **Subnames**, then click **Mint subname**.

![Subnames tab with a parent ENS name selected and the Mint subname button](https://mintcdn.com/namespace-1f56cc70/jCFjMGQRgMnZbKE1/assets/offchain/subnames.webp?fit=max\&auto=format\&n=jCFjMGQRgMnZbKE1\&q=85\&s=842973f236e8c726b99c4d5daada38ef)

**2. Create a subname**

Enter a label, such as `happy`, and check availability.

**Owner Address** is optional and can be used for indexing subnames by owner.

Add records through **Complete your profile**, or add them later. Click **Create**.

![Create subname dialog with an available label, optional owner address, Complete your profile, and Create button](https://mintcdn.com/namespace-1f56cc70/jCFjMGQRgMnZbKE1/assets/offchain/create-subname.webp?fit=max\&auto=format\&n=jCFjMGQRgMnZbKE1\&q=85\&s=b546da9826fe626452c0007336827666)

**3. Edit the subname's records**

Click the subname's pencil icon. Edit its address, text, or content hash records, then click **Save**.

![Addresses editor with Ethereum and Base records, additional chain options, and the Save button](https://mintcdn.com/namespace-1f56cc70/jCFjMGQRgMnZbKE1/assets/offchain/address-records.webp?fit=max\&auto=format\&n=jCFjMGQRgMnZbKE1\&q=85\&s=22d9f1d41dc8d4e436a9ad2a6aa435c6)

To delete a subname, click its trash icon.

## Create an API key

API keys are required for SDK and API access, not for using the app.

> [card] [Create an API key](https://app.namespace.ninja/offchain?activeTab=apiKeys)
>
> Open API Keys in the Namespace App.

**1. Open API Keys**

Select the parent name, open **API Keys**, and click **Create new key**.

![API Keys tab with the Create new key button and a reminder to save keys securely](https://mintcdn.com/namespace-1f56cc70/jCFjMGQRgMnZbKE1/assets/offchain/api-keys.webp?fit=max\&auto=format\&n=jCFjMGQRgMnZbKE1\&q=85\&s=669abe95e98b876e3e2bafd7e9e3614b)

**2. Set the key's expiry and scope**

Enter a key name, set an expiry date, and choose a scope:

| Scope | Access | Best used for |
| - | - | - |
| Address based | All ENS names owned by the connected wallet | Managing multiple parent names |
| Domain based | Only the selected parent name | Restricting an integration to one parent name |

Email is optional. Click **Create**.

![Complete API key screen with key name, expiry, scope options, optional email field, and Create and Cancel buttons](https://mintcdn.com/namespace-1f56cc70/jCFjMGQRgMnZbKE1/assets/offchain/api-key-scope.webp?fit=max\&auto=format\&n=jCFjMGQRgMnZbKE1\&q=85\&s=c5ff8cfa3f7f94dc74d17618e6374811)

**3. Copy and store the key**

Store the key in a server-side environment variable or secret store. Never expose it in browser code or public repositories.

Copy it before it disappears from the browser after about 24 hours. The key remains valid until its expiry date or revocation.

> [!NOTE]
>
> Limit: 2,000 subnames per parent name. For a higher limit, contact the [Builders group](https://t.me/+5FAwyiKOTeswNTIy).

## Next steps

> [card] [Integrate offchain subnames](https://docs.namespace.ninja/developer-guide/guide/create-offchain-subnames.md)
>
> Create and query subnames with the SDK.

> [card] [Troubleshoot resolution](https://docs.namespace.ninja/developer-guide/troubleshooting.md)
>
> Fix name and record lookup failures.


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