Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Multi-asset account in Daml FinanceForum ↗

Multi-asset account in Daml Finance

App Development3 posts198 views8 likesLast activity Dec 2022
HU
huwOP
Dec 2022

Is Daml finance designed to support accounts which can hold various types of assets in them, e.g. NFTs, CBDC, equities etc? I’m guessing no, because each account has one Holding Factory. Would the recommended approach be to have separate accounts for each type of holding/asset?

MA
Matteo_Limberto
Dec 2022

Hi @huw,

Thanks for your question.

As you correctly mention, each account has one Holding Factory, which is used to create (aka Credit) and archive (aka Debit) Holdings to the account.

However, the current Account implementation does not enforce any constraint on the instruments referenced by holdings. In a single account, you can have holdings (of the same type) referencing many different instruments (equities, CBDC, …).

So, depending on

  • which types of Holding are being used
  • which parties are the Account controllers

you might need / prefer to use multiple Accounts for your use-case.

I hope this helps,
Matteo

HU
huw
Dec 2022

Thanks Matteo. Looks like separate accounts are better for assets that are very different, e.g. fungible and non-fungible tokens must exist in separate accounts. But for the same asset class, one account should be ok.

← Back to Discussions