Hi all,
I've written a simple script to extract the amount of coins in all my cryptocurrency wallets.
My problem now is that amounts alone won't help me much. What I need would be to match them with their currency name.
Does anyone know, given a wallet data directory and a cryptocoin binary (*-qt.exe), how to extract the associated currency unit (BTC, LTC, DOGE, DRK, etc.)?
I didn't see this information anywhere in the RPC endpoints, and I don't think the wallet database files are self-aware enough to tell me.
Thanks for any help,
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.