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

Gathering a wallet's attestations #1

Open
lukepuplett opened this issue Nov 12, 2023 · 0 comments
Open

Gathering a wallet's attestations #1

lukepuplett opened this issue Nov 12, 2023 · 0 comments

Comments

@lukepuplett
Copy link

I'm still reading, apologies if this is in the docs, and I'm sort of new to Ethereum.

If you'll allow me to explain my understanding of ERC-20 tokens and wallets, it'll help sanity check if my mental model is wrong:

An HD wallet creates a tree of deterministic addresses and any of these could have an amount of tokens assigned. Thus, the wallet must know all the tokens and query each one for balances for each wallet address. If you restore a wallet from seed it has to then regenerate all the child addresses and check all the token balances and it'll stop checking once it finds something like 20 child addresses with no balances (or activity/history?)

Does this mean that wallets that support EAS will need to do the same and look for and gather up all attestations?

And is it expected that attestations will target a single address or for privacy's sake, must be a new HD address for each attestation?

Bonus: is it expected that attestations will contain personal data? The fact that someone attended an event is personal data, but what other kinds of data are expected?

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

1 participant