How to fractional nft

A fractional nft is created by minting one nft, then create another nft that divides up the first one?

Or is it create a contract that holds and divide the nft, like an escrow, then issues it out? How do I divide here?

Hi, @summe64. You can use the --decimals flag in the goal asset create command.

I read somewhere, that the assets would be 1, decimals 0, then create another to divide it up?

If I use the concept of decimals, isn’t it just the same thing if I put 1000 issuance, and 0 decimals vs 1 issuance and 3 decimals.

Decimals are just for displaying purpose.
The total number of assets is the only thing that matters.
On the chain level, the number of assets is always an integer.

So in both cases: total = 1000 when you create the ASA.

  • If you choose decimals = 0, block explorers will show an amount of 1000 in total. A user with 5 tokens will be displayed as having a balance of 5.
  • If you choose decimals = 3, block explorers will show an amount of 1 in total. A user with 5 tokens will be displayed as having a balance of 0.005.

I would recommend the second solution to match the draft ARC-0003: ARCs/arc-0003.md at main · algorandfoundation/ARCs · GitHub

Note however that this ARC is not final and may change.

1 Like