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
I kept thinking about this "bot" situation, and I thought about a draft of a solution. Let me know what you think about it.
A 2 step process for participating in 2 layered farms:
Step 1: users will have to go through the frontend to register their participation (amount / address through bsc-connector) + anti bot system (sliding, captcha, whatever works ...). This will be recorded in a small backend app + db (solidity contract & blockchain cannot be used) like nodejs express (to keep isomorphic approach) + mongo or aws documentdb (more expensive) or dynamodb (more impact on the code) ...
Step 2: 3 choices:
a "registered address only" available page to allow users that registered to participate in the farm... But they will be able to "change" the amount of their participation, which can be an issue.
a public page with "participate" button that will check the address + available balance to participate
a "delayed" participation done by owner of the contract with a private method in solidity. This can be done by an open sourced application to avoid hacks / too much human action that could be resulting in lost of faith & confidence by users
For the "delayed" participation:
When you reach the target of the 2-layered farm (amount), you close the participation (frontend only)
app (cron? manually / automatically triggered?) create solidity contract (template to reuse same process next week for the next 2 layered farm?) with the registered addresses hard coded ... i know, not great, but doable
frontend page opens with the farm available ONLY for hard coded addresses
Let me know if it's worth a shot or sounds like something doable / usable.
Cheers,
Johann
The text was updated successfully, but these errors were encountered:
Hello,
I kept thinking about this "bot" situation, and I thought about a draft of a solution. Let me know what you think about it.
A 2 step process for participating in 2 layered farms:
For the "delayed" participation:
Let me know if it's worth a shot or sounds like something doable / usable.
Cheers,
Johann
The text was updated successfully, but these errors were encountered: