taproot-assets icon indicating copy to clipboard operation
taproot-assets copied to clipboard

[feature]: decimal display support pt. 2

Open jharveyb opened this issue 8 months ago • 2 comments

Addressing #925 , continuation of #930 .

  • [x] Only encode non-default (non-zero) precision values.
  • [x] Reject mints if the existing JSON metadata is too big to add the precision field to, if precision was specified.
  • [x] On reissuance, fetch the precision from the asset metadata (if possible) of the asset group anchor, and assert equality with the reissuance request. -- "Precision should be fixed for all issuances in an asset group"
  • [x] display new precision field on some (?) RPC responses -- ListAssets, ListTransfers, and the address-related RPC calls

jharveyb avatar Jun 12 '24 19:06 jharveyb