Skip to content

RFC: getPrimaryDotNsName #544

Description

@filvecchiato

Raised in: #222 · @filvecchiato

Description

getPrimaryDotNsName returns the product's primary dotNS node — a path into the namespace — and the account that controls it, as a (DotNsNode, AccountId) pair.

Motivation

A product can read its own identifier from getProductContext and the user's primary username from getUserId, but nothing tells it which dotNS node it is published under or which account controls that node.

Requirements

  • Returns a (DotNsNode, AccountId) pair.
  • The DotNsNode is a path into the namespace, not a bare label.
  • The controlling account should generally be signable via signWithAccount.

Tasks

  • RFC document body
  • Implementation — rust-core
  • Implementation — hosts
    • dotli
    • Desktop
    • iOS
    • Android
    • host-cli

Note: no RFC drafted yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions