Skip to content
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

To crawlpath, add NFT owner information #22

Open
TimDaub opened this issue Aug 8, 2022 · 8 comments
Open

To crawlpath, add NFT owner information #22

TimDaub opened this issue Aug 8, 2022 · 8 comments

Comments

@TimDaub
Copy link
Collaborator

TimDaub commented Aug 8, 2022

/cc @neatonk

@neatonk
Copy link
Member

neatonk commented Aug 11, 2022

Very cool @TimDaub. Let me know if I can be of any help with this.

@TimDaub
Copy link
Collaborator Author

TimDaub commented Aug 12, 2022

I've attempted to work on this but eventually got blocked by neume-network/web3-music-subgraph#2, so I'm not sure if I can proceed here. It seems we need to get rid of web3-music-subgraph first :/

@neatonk
Copy link
Member

neatonk commented Aug 13, 2022

I'll have some time to help with this over the next couple of weeks. I can assist in replacing the web3-music-subgraph or coming up with alternative workarounds.

Unless I'm missing something (likely), then the easiest way forward is to ignore the garbage that the web3-music-subgraph creates by filtering it's output. This is not ideal, but allows progress and is better than having garbage in the output.

@TimDaub
Copy link
Collaborator Author

TimDaub commented Sep 6, 2022

This is unblocked now as we've deprecated web3-music-subgraph. But I still want to share some notes here:

@neatonk
Copy link
Member

neatonk commented Sep 6, 2022

Thanks so much for adding this. Responding in kind with some notes of my own:

  • I agree with your assessment above and think that recording the contract owner for a given block number is the right approach.
  • Any block number in which the contract exists will likely do for the use case I have in mind, but the latest block number would be most useful.
  • I do see value in tracking ownership over time as you have suggested, but do not have a use case for that right now.

@neatonk
Copy link
Member

neatonk commented Sep 6, 2022

For context, the use case I have in mind is a curation UI in which only contracts owned by the connected wallet are allowed. This UI would include an auto-complete mechanism to make filling contract addresses easier. Because this is just a UX optimization, it does not need to be 100% accurate and even 60% may be good enough.

  • I do see value in tracking ownership over time as you have suggested, but do not have a use case for that right now.

I can imagine a use case in which the auto-complete would include any contract that was ever owned by the connected wallet.

@TimDaub
Copy link
Collaborator Author

TimDaub commented Oct 19, 2022

Here's a similar use case now: neume-network/strategies#321

@neatonk
Copy link
Member

neatonk commented Oct 19, 2022

Here's a similar use case now: neume-network/strategies#321

Yep. And both of these would benefit from a global approach to historical data rather than ad-hoc tracking of previous states for specific fields. E.g. neume-network/strategies#302, which includes the block number in the id of each Datum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants