Represents the client for Identity Registry for an RWA.

Constructors

Properties

rwaClient: RwaClient

Methods

  • Asynchronously update user account identity

    Parameters

    Returns Promise<TransactionInstruction>

    A Promise that resolves to the instructions to update user account identity.

  • Retrieves the identity account pda public key for a specific asset mint.

    Parameters

    • assetMint: string

      The string representation of the asset's mint address.

    • owner: string

      The string representation of the asset's owner.

    Returns PublicKey

    The identity account pda.

  • Retrieves the identity registry pda account for a specific asset mint.

    Parameters

    • assetMint: string

      The string representation of the asset's mint address.

    Returns PublicKey

    The identity registry pda as a public key.

  • Asynchronously reduces a user identity account level

    Parameters

    Returns Promise<TransactionInstruction>

    A Promise that resolves to the instructions to reduce the level of a user identity account.

  • Asynchronously generates instructions to setup a user.

    Parameters

    Returns Promise<IxReturn>

    A Promise that resolves to the instructions to setup a user.

    It is required for at least a single user to be setup before issuing tokens.