Notes From Call 26/04/2023
Praise Givers
In order to dish praise for a given community you need to complete a registration process.
Prove you’re human and alias your twitter handle with an eth address and a discord handle - this allows you to fully integrate into the existing praise system for a given community (TEC in this case).
- This is also necessary to prevent spam praise being dished
- Useful to catch any duplicate users in the specific community’s praise system
- The twitter bot checks it’s database to see if the user is an already registered praise giver
- It will throw a warning in the form a comment on the praise tweet if the praise giver is unregistered
- It will like the tweet if the praise giver is registered and the praise has been captured successfully
Praise Receivers
Praise receivers can register after they’ve been dished praised. This is not obligatory, but if they do not register, they will not receive rewards.
- Alias your twitter handle with an ETH address and optionally a discord handle - this allows you to fully integrate into the existing praise system.
- Useful to catch any duplicate users in the specific community’s praise system
- The twitter bot checks the praise receiver name(s) to see if they are already registered.
- If the users are not registered it will throw an error as a comment on the praise tweet, inviting the receivers to register if they want to receive rewards.
- Unregistered users who receive praise are still in the database.
- Their twitter handle will show up, along with all other relevant information in the DB, the eth address field will show that the info is missing
- This allows twitter praise to be quantified normally and rewards can be distributed at a later time when/if the receiver registers.
User Activation
Users can register using a link provided by the TEC Twitter bot. This link can be found in three places:
- On the bot's profile page on Twitter
- As a reply to a given tweet when an unregistered user tries to dish praise
- As a reply to a given tweet when a registered user dishes praise to an unregistered user(s)
The registration process follows a slightly modified flow of the activate command currently on Discord. Since there are multiple platforms from which users can activate, we must account for both new and existing users.
Users must verify at least one of the following:
- Twitter: Sign an OAuth request from Twitter to verify their handle
- Discord: Sign an OAuth request from Discord to verify their handle
- Ethereum Address: Sign a web wallet message to prove they own a given address
For each OAuth entry or web wallet signature, we check if the account already exists in the database.
- If the account/address exists, we let the user know and auto-fill the other fields with the related account information. The user can then complete the OAuth for any missing account connections.
- Existing users will always have an ETH address, but could be missing an OAuth connection.
- Edge case: If a user verifies one platform/address account that isn't in the database, then verifies another platform account/address that is already in the database, we should throw a warning and show the user the information we have on file. The user should be given the option to update their profile info or swap their previously verified connection for the one on file in the database.