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

Address -> username and username -> user rework #975

Merged
merged 11 commits into from
Oct 12, 2023

Conversation

slundqui
Copy link
Contributor

Reworking the way the dashboard is getting the address to username and the username to user mappings.

Address -> username maps many addresses to a single username. For example, I have 3 wallets mapped to a single bot username.
username -> user maps many usernames to a single user. For example, my bot account and click account gets mapped to a single user for the leaderboard.

These mappings are written to the database and can be live updated with the update_username.py script in lib/chainsync/bin. This script also gets ran during docker initialization (corresponding infra change needed).

@vercel
Copy link

vercel bot commented Oct 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
elf-simulations ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 12, 2023 4:34pm

@slundqui slundqui changed the title Address to username and user rework Address -> username and username -> user rework Oct 11, 2023
@slundqui slundqui merged commit 832377c into delvtech:main Oct 12, 2023
6 checks passed
@slundqui slundqui deleted the addr_to_username branch October 12, 2023 16:40
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

Successfully merging this pull request may close these issues.

2 participants