Add TokenScript Management Page
See original GitHub issuePage that matches iOS TokenScript management page which displays a list of Tokens that have a tokenscript.
Once we have a basic list of tokens we will expand on it to show warnings/errors and allow users to remove and otherwise manage scripts.
Add the page into the settings like this (@hboon can you please add iOS settings page screen shot with TokenScript management entry and another showing the script page):
TokenScript Management
You will be able to get a list of the scripts from assetDefinitionService using a method that traverses the assetDefinitions
SparseArray/Mapping, making a list of holding contract tokens vs Filename. See method ‘addContractAddresses’ to see how to extract the holding contracts from each definition. Most scripts have only one holding contract token (eg Karma - 0x75cb...
).
I’m thinking initially we want to see something like a list like this:
Script Name Filename
- token address
eg
Car Ownership Token karma.canonicalized.xml (small font)
0x75cb... (small font)
We may want to change this in future but for now this will be fine
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
@JamesSmartCell are you referring to these 2 screens?
The Console screen was initially added to help with debugging. I was thinking it can log all kinds of errors. But never had the chance to go further with it.
Completed