Here are the slides for the talk, hope you liked it!
During the 5 minutes of the talk, I shared a few complications while building a seemingly simple app. In particular, showing the tokens of a user from an ERC721 contract, which involves listing the user’s tokens in the current block, and monitoring for new ones.
However, listing current tokens does not yield information on in which block they were received by the user - and tokens received in recent blocks need to be monitored to ensure they become finalized. On the monitoring for new tokens side, subscriptions cover most issues (assuming a websocket connection is available), as long as they are connected. A lose in connectivity during a reorg means we lose that information, and may end up with a spurious view of the chain - EIP234 rationale section includes a good detailed explanation of this issue.
So, how do you approach this problem on your dapps? I’m super curious to hear!