-
Team or ProjectNo response EnvironmentMainnet L2 block numberNo response Provide a brief description of the functionality you're trying to implement and the issue you are running into.Project GoalBuilding a tool to analyze wallet addresses and identify "paperhanded" trades. We need to:
Current Technical Challenges1. Transaction Classification IssuesCurrently struggling to differentiate between:
Problems:
2. Historical Price TrackingNeed to calculate sell prices and subsequent price movements. Problems:
3. DEX Coverage IssuesNeed to identify all possible ways a user might sell tokens:
Key Questions
The goal is to accurately identify when users paperhanded (sold too early) and calculate how much they would have made by selling at ATH. Any guidance on these challenges would be greatly appreciated! Repo Link (Optional)No response Additional DetailsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For building a DEX trade analysis tool on ZKsync Era that can accurately classify transaction types and track historical prices, here are some suggestions based on the challenges you've outlined: 1. Transaction Type Detection
2. Historical Price Tracking
3. DEX Coverage
For more detailed discussions and community support, you can visit the ZKsync developers discussions on Github. This platform can provide further insights and peer advice on handling the complexities of your project. Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
-
Hi Sharing some info although this page is more focused on technical support and debugging issues with our tools. Perhaps you can also ask in our Discord server as well to get better answers. Transaction Type Detection
As far as I know, a sell will be just a transfer from the user account to another one. I'd try to identify any transactions on the token contract, calling the
As mentioned before, any Price Tracking
You should be able to see the number of tokens going out of the user's wallet and the amount of ETH or other tokens going in. And you can use different oracles to get the USD price of different tokens.
You can use APIs like Coingecko or Alchemy DEX coverage
On ZKsync Era currently Syncswap, Koi, zkSwap, Maverick and Uniswap. See DefiLlama for more details
Monitor DefiLlama and the official ZKsync X account |
Beta Was this translation helpful? Give feedback.
Hi
Sharing some info although this page is more focused on technical support and debugging issues with our tools. Perhaps you can also ask in our Discord server as well to get better answers.
Transaction Type Detection
As far as I know, a sell will be just a transfer from the user account to another one. I'd try to identify any transactions on the token contract, calling the
transfer
method with the user address in thefrom
param. See the Openzeppelin docs for the ERC20 token API.As mentioned before, any
transfer
where the…