-
Notifications
You must be signed in to change notification settings - Fork 10
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
Make the faucet register
users on-chain (instead of Redis)
#160
Comments
moul
changed the title
Make the faucet register users on-chain (instead of Redis)
Make the faucet Sep 26, 2023
register
users on-chain (instead of Redis)
Just on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Objective
Our goal is to pivot the user registration mechanism to a fully on-chain system, phasing out the reliance on off-chain storage methods, specifically Redis. Transitioning to this approach presents the following benefits:
Through this on-chain transformation, we further our commitment to harnessing the true capabilities of blockchain, ensuring an efficient and equitable registration experience for our competition.
Implementation Strategy
Faucet Procedure Alteration:
Send
transaction to dispatch tokens to a designated address, it should instead be programmed to trigger an on-chain player registration process. This can be achieved with the following call:-pkgpath r/demo/register -func RegisterPlayer(addr, token) -send XXXugnot
.Registration Contract Functionality:
r/demo/register
has a twofold responsibility:std.Banker
module.The text was updated successfully, but these errors were encountered: