question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add TokenScript Management Page

See original GitHub issue

Page 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:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
hbooncommented, Apr 14, 2020

@JamesSmartCell are you referring to these 2 screens?

TokenScript overrides Console

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.

0reactions
JamesSmartCellcommented, Jun 18, 2020

Completed

Read more comments on GitHub >

github_iconTop Results From Across the Web

TokenScript/design_paper.md at main - GitHub
In a user's words, I am accessing the website tied to this token, so I will trust that this transaction I am signing...
Read more >
TokenScript: Add Rich Functionality To Your Tokens | csb-nfet8
In short, it's like a secure front-end for tokens. Benefits. Run your tokens from users wallets as native, modular 'Mini-DApps'; Extend token structure...
Read more >
How to have your tokens on mobile | AlphaWallet Blog
By default, your TokenScript will present the mobile user with an approve and about page for your token. From there it is easy...
Read more >
Some means to manage tokens - Implementations - AlphaWallet
With the concept of SmartToken, the wallet page is the place for both ”investments” and ” utility”. It becomes a mixer of ”bank...
Read more >
Create an Email Script Token | Adobe Marketo Engage
... SEO - Add a Site/Delete a Site · SEO - Add Competitors · SEO - Managing Lists · SEO - Pick Region/Country...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found