-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address filter #5
Comments
Hi, I've got your idea. These tasks are out of our scope. Still if you'll make a PR with implementation, we'll review them. |
I have looked into this to see how the rescanning can be done effectively without asking for an initial block for the address. I tested the following algo and it seems to work but if the address has been first used a long time ago it takes some significant time. It goes as follows :
On Rinkeby it takes 1s fir 10 blocks via infura. It is not so quick. What’s your views on this? |
Hi! Your solution is definitely good and it's much better then scanning from the beginning. The feature of filtering some addresses, and adding/removing addresses during the online indexer process, with backward-scanning possibility, is a big work. And next request will be to add/remove addresses via API. Will someone take the task? |
Hi, @adamant-al I agree that using etherscan works well. I tested this and its fast and reliable. However, when you need to work for testing and dev on a local node its not available. Also, I have to confess that not being fluent with Python I have redeveloped entirely the solution in typescript on MongoDB (easier). If you are interested, my project is based on the idea that many companies who need to interact with bockchains do not want to buy crypto and record for it in their accounting system (risk, compliance, volatility ...). But still they need to have some gas in their wallets. So the project is to build a solution (and a company) that offer the service to automatically refill the customers' wallets with some crypto when the amount is below a threshold and invoice them in euros/usd/any legal ccy for the crypto. The company takes the risk, compliance burden etc for them. Let me know if you are interested, I would be happy to have some contributors on this. |
Hi, @guenoledc I see you have an interesting idea. If you want to speak more about it, contact [email protected] |
I know this may be out of scope, but I'd like to submit it here as a feature request.
I have a use case where I only want to monitor transfers of a certain set of addresses. Of course this is possible with this project, but because it indexes all transactions, there's a huge database overhead. Would it be possible to add a feature where addresses can be added or removed for monitoring, such that the indexer only stores transactions that are from, to, contract_from or contract_to one of those addresses?
Typically, a user would submit a newly created address for monitoring before using it, but it might still be a good idea to offer the option to rescan (from a certain start date or block). Those familiar with blockchain will see the familiarity with bitcoind's wallet functionality.
The text was updated successfully, but these errors were encountered: