Identity
Overview
Identity is central to Polymesh. Network participants must have an on-chain identity to interact with asset and identity related transactions on the blockchain.
Each identity:
- Is created through DID onboarding and registration (self-registration or registrar-assisted)
- Is referenced by a pseudo-anonymous decentralized identifier (DID), e.g.,
0xfc0d2fc058d02c0a89c2cc2ff11726971dd39886a0b80ecfaa80fa3f196d65ce - Can hold asset balances via portfolios or Account IDs connected to the identity.
- Can be associated with claims and have permissioned roles
- Is controlled by a primary key and optional secondary keys
Identity Requirement on Polymesh
An identity is required for:
- All identity-related transactions (such as key management, adding or removing keys, and permissioned roles)
- All asset-related transactions (such as holding, minting, and distributing assets)
- Node operators
- Permissioned roles (such as committee or council members)
An identity is not required for:
- POLYX token operations, such as transfers between accounts
- Staking operations for nominators with stash and controller accounts (such as bonding, nominating, and unbonding)
Key Concepts
Identity Creation & Verification
Identities are created through DID registration. Users can self-register using identity::self_register_did, or a permissioned DID registrar can register a DID for a target key using identity::register_did.
Asset Management
Native assets (excluding POLYX) held by users are associated with their on-chain identity, via portfolios or directly on a signing key's account, provided that key is associated with an identity as either a primary key or secondary key. Each identity can hold multiple assets and manage them through different portfolios. Identities may also be granted agent permissions to perform specific operations on behalf of asset issuers.
Claims & Compliance
Identities can receive claims from other identities, which are used to enforce on-chain compliance rules for assets. Claims have specific scopes and can be used to represent various attributes, such as KYC status or accreditation.