You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Transparency & Decentralization: Emphasizing on-chain processes enhances transparency and decentralization, pushing the boundaries of what's possible with blockchain technology.
Ensuring Account Uniqueness: On-chain registration guarantees that each token is linked to a distinct account. This curtails any chances of malpractice such as associating a single token with numerous manually generated accounts.
Performance Enhancement: Steering towards on-chain registration limits realm interactions to genuine participants. This safeguards realm performance, preventing a potential overload from a vast number of addresses.
Facilitated Dynamic Whitelisting: Other contracts can access the registration realm, enabling dynamic whitelisting. This offers scalability for ensuing blockchain activities and applications that mandate a curated list of approved participants.
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:
Instead of the faucet executing a 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:
The contract located at r/demo/register has a twofold responsibility:
Firstly, it must verify the uniqueness of the account, ensuring no previous claims exist for the given address.
Post verification, the contract should record the registration details and subsequently disburse the tokens to the provided address using the capabilities of the std.Banker module.
The text was updated successfully, but these errors were encountered:
moul
changed the title
Make the faucet register users on-chain (instead of Redis)
Make the faucet register users on-chain (instead of Redis)
Sep 26, 2023
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: