Skip to content
Daml

Token Transfer

This tutorial details the steps to transfer a tokenized instrument from Investor1 to Investor2 using the Credential and Registry utilities.

Instrument

The tokenized instrument transferred is called BOND. TODO: Add a link to the step.

Roles

Assumptions:
  • Investor1 is already onboarded.
  • Investor2 is not yet onboarded.
Roles in Tokenization UtilityEntityRoles in Asset BOND
Provider (onboarded by DA)Provider
Registrar (onboarded by Provider)Registrar
Issuer (onboarded by Provider)IssuerIssuer of BOND, Holder of BOND
Investor1 (onboarded by Provider)Investor1Holder of BOND
Investor2 (onboarded by Provider)Investor2Holder of BOND

Credential Design

In this tutorial there are two sets of credentials:
  • one set for role (Provider, Registrar and Holder) onboarding in the Registry
  • one set for token-specific roles (BOND issuer and BOND holder) in the Registry
Here is the summary:
EntityProviderRegistrarIssuerInvestor1Investor2
Roles in RegistryProviderRegistrarHolderHolderHolder
Credential for role onboarding[provider] [hasRegistryRole] [Provider][registrar] [hasRegistryRole] [Registrar][issuer] [hasRegistryRole] [Holder][investor1] [hasRegistryRole] [Holder][investor2] [hasRegistryRole] [Holder]
Credential issuerDigital AssetProviderProviderProviderProvider
Token (BOND) specific rolesIssuer, HolderHolderHolder
Token (BOND) specific credentials[issuer] [isIssuerOf] [BOND]
[issuer] [isHolderOf] [BOND]
[investor1] [isHolderOf] [BOND][investor2] [isHolderOf] [BOND]
Token specific credential issuerRegistrarRegistrarRegistrar