Two quick ways that I could think of are:
- Maintain a manual input field to allow the user to enter the coin name.
- Maintain a list of addresses of each coin and validate each one till you get a match.
The idea here is that you should not have to enter any information. The goal of the script is to give you a list of your wallet amounts completely automatically.