Rovak / wallet-web

Tron Protocol Wallet
https://tronscan.org
GNU Lesser General Public License v3.0
55 stars 29 forks source link

Account page, search address #101

Closed AhnSinYong closed 6 years ago

AhnSinYong commented 6 years ago

The more accounts have on Explorer, the harder find them. image

lazarovicedo commented 6 years ago

pagination would be needed also, now there are already more than 2500 accounts and loading the whole list is slow. Pagination should be done when calling loadAccounts, with a start point and limit ie: Client.getAccountList(0, 200);

export const loadAccounts = () => async (dispatch) => { let accounts = await Client.getAccountList(0, 200); dispatch(setAccounts(accounts)); };

I think your search feature will have to do the search at API client level

AhnSinYong commented 6 years ago

Like your suggestion, The pagination API is required. There seems to be no pagination API among the current APIs.