Skip to content

Fix outstanding issues in TokenScript #2992

@JamesSmartCell

Description

@JamesSmartCell

The following issues need fixing in TokenScript handling:

  • Boolean return from Attribute isn't working correctly.
  • name and label in token props should represent the blockchain name() and the TokenScript label respectively.
  • numeric values do not need to wrapped in quotes unless they are hex.
  • boolean attributes should be lowercase true or false without quotes.
  • For NFT detail page with TokenScript, any Token View should not replace the default view, it should be added at the bottom (aka Dynamic Attributes).
  • Cannot render "token" card correctly in NFTAssetDetailActivity if it contains references. Also functions don't show up.
  • Add diagnostics for issue where TS developers aren't resolving symbols correctly (currently the app crashed if symbols weren't resolved).

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions