> For the complete documentation index, see [llms.txt](https://docs.hypertensor.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hypertensor.org/network/subnet-node/identity.md).

# Identity

Each coldkey can register an identity.

### Register Identity

Registering an identity must be called from the coldkey account and is stored under the coldkey.

```rust
pub fn register_identity(
    origin: OriginFor<T>, 
    hotkey: T::AccountId,
    name: BoundedVec<u8, DefaultMaxUrlLength>,
    url: BoundedVec<u8, DefaultMaxUrlLength>,
    image: BoundedVec<u8, DefaultMaxUrlLength>,
    discord: BoundedVec<u8, DefaultMaxSocialIdLength>,
    x: BoundedVec<u8, DefaultMaxSocialIdLength>,
    telegram: BoundedVec<u8, DefaultMaxSocialIdLength>,
    github: BoundedVec<u8, DefaultMaxUrlLength>,
    hugging_face: BoundedVec<u8, DefaultMaxUrlLength>,
    description: BoundedVec<u8, DefaultMaxVectorLength>,
    misc: BoundedVec<u8, DefaultMaxVectorLength>,
)
```

***

### Remove Identity

Remove a coldkey identity.

```rust
pub fn remove_identity(origin: OriginFor<T>)
```
