TokenScript icon indicating copy to clipboard operation
TokenScript copied to clipboard

Create test data to verify attribute extracts for TokenScript clients: .tsml -> web3.tokens.data

Open hboon opened this issue 6 years ago • 2 comments

This is to verify that attribute extractions are consistent across TokenScript clients. Not view rendering.

  • [ ] Create a .tsml file with attribute type definitions. Include smart contracts if we want to test attributes with smart contract calls as origin
  • [ ] Create the JSON/textual equivalent of the expected web3.tokens.data when all the data is ready.
  • [ ] Repeat for more tests if necessary
  • [ ] Create issues in iOS and Android repos to create tests cases to read the files/data created in this issue as test data and assert them.
  • [ ] Create similar issue to this verifying .tsml -> rendered .html consistency in TokenScript clients

PS: checking web3.tokens.data as the desired output is just convenient. Since every TokenScript client has to be capable of generating it.

hboon avatar Apr 26 '19 03:04 hboon

Sounds like suitable for @James-Sangalli

SmartLayer avatar Apr 27 '19 07:04 SmartLayer

@colourful-land which James? :)

hboon avatar Apr 27 '19 14:04 hboon