Regarding the code you posted:
Which service are you communicating with to retrieve the tokens and their balances? Etherscan.io?
Thanks for asking! I was hoping someone would ask that. If you look here, there is a
JSON RPC Client. Here there is an
Ethplorer Client. The
BlockchainClientManager uses any client that is available, times the calls, and automatically adjusts to the fastest server. The JSON RPC clients could call any server that is up and running and implementing the right RPC calls. The BlockchainClientManager has fail over redundancy so if one server is down, the other will be used. As an implementer you shouldn't have to care about whether the server is up or down. I will be adding more and more servers over time so that the library becomes more and more stable. This is crucial because many people shy away from using online APIs because they are not stable enough.
Actually, if you have a list of API Servers available, that would be a really great way to contribute. I'm especially interested in APIs which implement Insight, and JSON RPC.
I don't really need this kind of tool, but it's good to see UnitTests usage on non-huge project, even though it only test few tasks.
Yes. My app Hardfolio has 70%+ unit testing code coverage. CryptoCurrency.Net is a small part of that. I brought some unit tests from Hardfolio in to CryptoCurrency.Net. But, the aim is to get coverage up to 100% percent.