You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Erc20Kit can work with only one token at a time. Each instance of Erc20Kit requires new TransactionManager which in turn requires EtherscanTransactionsProvider which needs EtherscanService. Each new EtherscanService creates new instance of OkHttpClient which is resource-heavy. Is there some specific reason for it?
It would be great if users will be able to provide OkHttpClient through class constructors as it allows proper resource management on app level.
The text was updated successfully, but these errors were encountered:
For our project we made these hotfixes of InfuraService.kt and EtherscanService.kt. Basically we changed visibility of Retrofit services from internal to public and modified service constructors so that they accept built services.
Erc20Kit can work with only one token at a time. Each instance of Erc20Kit requires new TransactionManager which in turn requires EtherscanTransactionsProvider which needs EtherscanService. Each new EtherscanService creates new instance of OkHttpClient which is resource-heavy. Is there some specific reason for it?
It would be great if users will be able to provide OkHttpClient through class constructors as it allows proper resource management on app level.
The text was updated successfully, but these errors were encountered: