Skip to content

feat: ask user to register wallet before demo + add rewards nudge#30

Closed
D2758695161 wants to merge 3 commits into
ubiquity-os:mainfrom
D2758695161:main
Closed

feat: ask user to register wallet before demo + add rewards nudge#30
D2758695161 wants to merge 3 commits into
ubiquity-os:mainfrom
D2758695161:main

Conversation

@D2758695161
Copy link
Copy Markdown

Summary

Implements the requirements from devpool-directory#5000 ( USD):

Changes

  1. Wallet registration before demo: The bot now asks the user to register their wallet before starting demo tasks, instead of registering its own wallet automatically.

  2. Rewards claim nudge: After the rewards are posted (command-wallet response), the user is nudged to click the link and claim their rewards.

  3. Bot posts demo issue instead of user: Added createDemoIssue() function for the Simulant/bot to post the demo GitHub issue on behalf of the user, avoiding the privacy concern of users posting from their own account.

  4. Cleaner flow: Removed the bot's automatic /wallet registration step from handleInit, replacing it with a clear prompt for the user to run /wallet

    themselves.

Before vs After

Before:

  1. Bot welcomes user
  2. Bot registers its own wallet (/wallet 0xefC0e...)
  3. Demo tasks begin

After:

  1. Bot welcomes user
  2. Bot asks user to register their wallet (/wallet <USER_ADDRESS>)
  3. User registers wallet
  4. Bot guides through demo tasks
  5. Bot nudges user to click and claim rewards

- Ask user to run /wallet <address> before demo starts
- Add nudge comment after rewards to click link and claim
- Bot posts demo issue instead of user (privacy improvement)
- Remove bot's own wallet registration step from handleInit
- Closes devpool-directory#5000 ( USD)
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