hww
hww
Sep 4, 2018 · 1 min read

Hi Santiago, Thanks for your work, I have two confusions:

  1. How do we query account history transaction recoreds?

the scenario like a import an account to an decentralized ETH mobile wallet, we need to show the account transaction records occurred before;

Ethereum node (geth, parity) doesn’t not provides the API like eth_listTransactions, https://github.com/ethereum/go-ethereum/issues/1897
Exclude external API like https://etherscan.io/apis#accounts, does the only way is that parse all transactions in each block from genesis block to centralized database?

2. How can we monitor deposit and notify users elegantly for mobile wallet?

For ETH, we can parse comming best hegith block, but how about ERC20 token? suppose that there are huge amount of addresses in our system, watch event log seem not to be a good solution.
when block reorg, what should we do?

Thanks for your time.

hww

Written by

hww

https://huangwenwei.com