CIP-PR-169: Canton Network Party Profiles
Contents39 sections
Abstract
Define a standard set of party profile properties for credentials on the Canton Network, and rules for how apps display profile information published by parties themselves and by other issuers. The profiles build on the Canton Network Credentials Standard and are informational, not verified identity information.
Specification
A party profile consists of the claims with the properties defined in this CIP that are part of credentials held by the party. The claims are published using the Canton Network Credentials Standard, either:
- self-published by the party itself (issuer = holder), or
- issuer-published by another party (issuer ≠ holder), e.g., an app provider publishing metadata about a party it interacts with.
Every claim with a property defined by this CIP describes the holder of the credential.
Such claims MUST leave subject unset, and apps MUST ignore a claim with a property defined by this CIP if its subject is set.
Note that the Canton Credential Registry requires the authorization of both the issuer and the holder, so an issuer-published profile in that registry is always one that the holder agreed to. It also expires records at the end of their free period, so publishers keep a profile by extending it, which the holder or the issuer can do on their own and without burning CC.
Profile claims are informational.
They neither establish legal identity nor prove ownership of an external account or resource.
Apps SHOULD NOT interpret them as verified identity attributes or use them for name or recipient resolution, except for preferred-name as specified below.
They MAY do so if they have additional information about the issuer of the credential.
Party Profile Properties
This CIP defines the following properties in its cip-<nr> namespace, where <nr> is the number assigned to this CIP.
Properties use kebab-case, e.g., display-name, like the properties defined in the Canton Network Credentials Standard.
Publishers, i.e., self-publishers and other issuers, SHOULD encode the values as specified for each property.
Registries are not required to validate claim values, so apps MAY ignore values that do not conform to this specification.
For all properties, apps:
- MUST escape the value when rendering it;
- MUST check that the value conforms to its property's encoding before using it as a URI or a link, e.g., to load an avatar image,
or to render a website,
mailto:,tel:, or social profile link, and MUST NOT present a non-conforming value as a link.
cip-<nr>/display-name
Human-readable name used for UI display.
- Publishers SHOULD encode the value as a Unicode string of at most 64 Unicode characters.
- Apps MAY gracefully truncate the rendered value.
cip-<nr>/preferred-name
Fully Qualified Party Name (FQPN) under which the party prefers to be displayed, as defined by the Canton Party Name Resolution Standard.
- Publishers SHOULD encode a valid FQPN.
- Apps MUST use only the value from the self-published section, and MUST NOT display it unless it resolves back to the party, as specified by that standard.
cip-<nr>/description
Short description of the party for UI display.
- Publishers SHOULD encode the value as a Unicode string of at most 280 Unicode characters.
- Apps MAY gracefully truncate the rendered value.
cip-<nr>/keywords
Comma-separated keywords, most significant first.
- Publishers SHOULD encode a comma-separated list of Unicode keywords, most significant first, e.g.,
defi,walletordefi, wallet. - Apps MAY split the value on commas, trim surrounding whitespace from each keyword, and display only a subset, e.g., the first few keywords.
cip-<nr>/notice
Short notice about the party, e.g., a status or deprecation warning.
- Publishers SHOULD encode the value as a Unicode string of at most 280 Unicode characters.
- Apps MAY highlight the value as a notice, and MAY gracefully truncate it.
cip-<nr>/avatar
Avatar reference for UI rendering as a user profile image.
- Publishers SHOULD encode an
https://URL or anipfs://URI conforming to RFC 3986. - Apps MAY ignore values that are invalid or unsupported URIs.
cip-<nr>/website
Website associated with the party.
- Publishers SHOULD encode an absolute
https://URL conforming to RFC 3986. - Apps MAY display a non-conforming value as plain text.
cip-<nr>/email
Contact email address.
- Publishers SHOULD encode a value conforming to the RFC 5322
addr-specsyntax. - Apps MAY render a conforming value as a
mailto:link.
cip-<nr>/phone
Contact phone number.
- Publishers SHOULD encode an E.164 string, e.g.,
+15551234567. - Apps MAY render a conforming value as a
tel:link.
cip-<nr>/location
Generic location, e.g., New York, USA.
- Publishers SHOULD encode the value as a Unicode string of at most 128 Unicode characters.
cip-<nr>/mail
Physical mailing address.
- Publishers SHOULD encode the value as a Unicode string of at most 256 Unicode characters.
cip-<nr>/social:telegram
Telegram username.
- Publishers SHOULD encode a value conforming to the Telegram username format, without a leading
@. - Apps MAY render the value with a leading
@.
cip-<nr>/social:x
X (formerly Twitter) username.
- Publishers SHOULD encode a value conforming to the X username format, without a leading
@. - Apps MAY render the value with a leading
@.
cip-<nr>/social:github
GitHub user or organization name.
- Publishers SHOULD encode a value conforming to the GitHub user or organization name format.
- Apps MAY link to the corresponding GitHub profile.
cip-<nr>/social:linkedin
LinkedIn user or company name.
- Publishers SHOULD encode a value conforming to the LinkedIn vanity name format, without a leading
@and not as a URL. - Apps MAY link to the corresponding LinkedIn profile.
cip-<nr>/social:discord
Discord username or user ID.
- Publishers SHOULD encode a value conforming to the Discord username or user ID format.
Party Profile Resolution
Apps retrieve the profile claims of a party p from the following sources:
- Ledger API: wallets SHOULD read the profile of their own user from the credentials held by that user, as listed by the user's validator node via the Ledger API. This covers all issuers and all registries.
- Credential Lookup API: for any party, apps MAY query
(property, issuer, p, p)witheffectiveOnly = truefor each property defined by this CIP and each issuer whose section they show:pitself for the self-published section, and each known issuer. The first returned record is that registry's selected one for that property and issuer. - Network explorers: the Credential Lookup API can only filter by holder if the issuer is specified, so it cannot efficiently find unknown issuers. Apps MAY use network explorers that offer lookups by holder to find the sections of unknown issuers.
Apps MUST ignore claims of credentials whose validity period is not effective, as defined by the Canton Network Credentials Standard.
Apps SHOULD query the Canton Credential Registry by default, and MAY query additional registries according to an explicit application-specific policy. When using records from multiple registries, including those listed via the Ledger API, apps MUST apply a deterministic registry priority order.
Claim Deduplication
For each issuer, each property MUST have at most one selected value. A value from a higher-priority registry takes precedence. Within one registry, apps MUST apply the last-write-wins semantics for duplicates defined by the Canton Network Credentials Standard.
Claims from different issuers are not deduplicated against each other, so the same property can appear once in each issuer's section.
Party Profile Display
Apps MUST NOT merge claims from different issuers. Instead, they display them per issuer as follows.
A full profile view, e.g., a profile page, MUST present the profile as an ordered list of issuer sections. Each section contains the selected claims of one issuer about the party. The sections MUST be ordered as follows:
- The self-published section, if present.
- One section per other known issuer, i.e., an issuer that the displaying app has explicitly whitelisted, in the app's whitelist order.
- One section per remaining unknown issuer that the app found, if any, in a deterministic order, which SHOULD be by issuer party ID.
An issuer MUST appear in at most one section, and empty sections MUST be omitted.
Within each section, apps MUST render well-known properties before unrecognized ones, and in the order in which this CIP defines them. Apps SHOULD make the issuer of each section visible, and MAY hide unknown-issuer sections by default.
A compact view, e.g., a list row, a chip, or a send dialog, MAY show the claims of a single issuer: the self-published section if present, otherwise the first known-issuer section in whitelist order. Compact views MUST NOT use the section of an unknown issuer.
Motivation
Party IDs are the identity anchors on the Canton Network, but they are hard for humans to tell apart and remember. There is no standardized way to attach human-readable metadata to a party, such as a display name, an avatar, or contact details, either by the party itself or by the app providers that interact with it.
This CIP defines such metadata on top of the Canton Network Credentials Standard, so that apps, e.g., wallets and explorers, can display parties consistently, and app providers can start publishing metadata about the parties they interact with at their own pace.
Rationale
Issuer Sections Instead of a Merged Profile
Profiles are displayed as one section per issuer rather than as a single merged profile. This keeps the provenance of every claim visible, so that a claim made by an unknown issuer cannot pass for one made by the party itself or by a known issuer. It also lets app providers start publishing metadata under the well-known properties at their own pace, and lets apps adopt such issuers one by one via their whitelist.
Which issuers to trust differs between apps. This CIP therefore leaves it to apps to decide which issuers they treat as known, which additional registries they query and how they prioritize them, and whether they show the sections of unknown issuers by default.
Namespaced Properties
All properties use the cip-<nr> namespace of this CIP,
so that profile data observed on the network can easily be traced back to its specification.
New well-known properties can be added by amendments to this CIP, or by a separate CIP where appropriate.
Apps do not need to recognize new properties, so such additions do not break them.
Relation to ENS
The properties are based on the ENSIP-5 text records of ENS. This CIP does not reuse the ENS key strings as-is. The differences are:
- All properties use this CIP's
cip-<nr>namespace, see Namespaced Properties. - Properties use kebab-case, like the properties defined in the Canton Network Credentials Standard,
e.g.,
display-namerather thandisplay. ENSdisplayalso has name-matching rules that do not apply to Canton party IDs. - A website is
websiterather thanurl. - Social handles are grouped as
social:*rather than as reverse-DNS service keys such ascom.github, and X issocial:xrather thancom.twitter. - Avatars do not support
data:URIs, see No Inline Avatar Images.
The covered ENSIP-5 global keys, under this CIP's names, are
display-name (display), avatar, description, keywords, notice, email, phone, location, mail, and website (url).
The covered service keys are social:github (com.github), social:x (com.twitter), social:telegram (org.telegram), and social:linkedin (com.linkedin).
This CIP additionally defines preferred-name and social:discord, which have no ENSIP-5 counterpart.
The following ENSIP-5 service keys are not defined here:
- the legacy
vnd.*aliases (vnd.github,vnd.twitter,vnd.peepeth), which ENSIP-5 replaced bycom.*keys; com.peepeth, as it refers to a defunct service;io.keybase, which can be added by an amendment if there is a concrete need.
Relation to Party Name Resolution
The Canton Party Name Resolution Standard (CPRP) standardizes human-readable party names:
their format, their resolution to party IDs and back, and how apps render them.
The preferred-name property, which CPRP uses to choose the name to display for a party, is defined in this CIP,
as it is another kind of self-published party metadata.
Unlike the other properties, a preferred name is verified before use: apps display it only if it resolves back to the party.
One Value per Property and Issuer
Each issuer's section shows at most one value per property, following the last-write-wins semantics of the Canton Network Credentials Standard. An app therefore never has to choose between, e.g., two display names from the same issuer.
Multiple values for the same property are still visible if they come from different issuers, as each issuer has its own section. A second value from the same issuer, e.g., a second email address, can be supported later by an additional well-known property, rather than by making every property multi-valued.
No Inline Avatar Images
ENS avatars also accept data: URIs with inline images.
This CIP does not.
Claim values are stored on-ledger, and the Canton Credential Registry limits them to at most 2047 characters,
which is too small for most images.
Inline images would also make profile credentials large.
An https:// URL or an ipfs:// URI keeps the image bytes off-ledger.
Examples
Example 1: Console Wallet
The Console Wallet app is represented by the party <console-wallet-party>.
Its self-published credential, for which issuer = holder = <console-wallet-party>, contains the following claims:
| Property | Value |
|---|---|
cip-<nr>/display-name | Console Wallet |
cip-<nr>/preferred-name | mainnet:dns:consolewallet.io |
cip-<nr>/description | Self-custodial wallet on the Canton Network |
cip-<nr>/website | https://consolewallet.io |
cip-<nr>/social:telegram | ConsoleWallet |
cip-<nr>/social:x | ConsoleWallet |
Publishers encode the handles without the leading @, and apps may render them as @ConsoleWallet.
Example 2: Console Wallet User
Alice, a Console Wallet user with the party <alice-party>, self-publishes the following claims:
| Property | Value |
|---|---|
cip-<nr>/display-name | Alice |
cip-<nr>/preferred-name | mainnet:cns:alice.unverified.cns |
cip-<nr>/avatar | ipfs://<cid> |
Console Wallet also publishes a credential about her, for which issuer = <console-wallet-party> and holder = <alice-party>,
with the email address she signed up with:
| Property | Value |
|---|---|
cip-<nr>/email | alice@example.com |
The CC View explorer treats Console Wallet as a known issuer. Its profile page for Alice therefore shows two sections: first Alice's self-published claims, then the claims of Console Wallet. A send dialog, which is a compact view, shows only Alice's self-published claims, e.g., her preferred name if it resolves back to her.
Example 3: Impersonation Attempt
A party <mallory-party> self-publishes the claims cip-<nr>/display-name = Console Wallet
and cip-<nr>/preferred-name = mainnet:dns:consolewallet.io.
The preferred name resolves to <console-wallet-party> rather than to <mallory-party>, so apps do not display it.
The display name is unverified, so it does not make <mallory-party> Console Wallet:
apps show it only as profile metadata of that party.
Example 4: Non-Conforming Website
A credential contains the claim cip-<nr>/website = not-a-url.
The value does not conform to the encoding of website, so apps may display it as plain text but not as a link.
Backwards Compatibility
This CIP is backwards compatible: it only defines properties and how apps interpret them.
Reference Implementation
This CIP requires no changes to the Canton Network Credentials Standard or to its registries. The display of party profiles is expected to be implemented in CC View and Console Wallet.
Changelog
- 2026-11-11: Aligned with the current Canton Network Credentials Standard
- 2026-01-27: Initial draft
Copyright
This CIP is licensed under CC0-1.0: Creative Commons CC0 1.0 Universal