Skip to content
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

Module: ID Management #1

Open
Paulito123 opened this issue Dec 18, 2022 · 0 comments
Open

Module: ID Management #1

Paulito123 opened this issue Dec 18, 2022 · 0 comments

Comments

@Paulito123
Copy link

Paulito123 commented Dec 18, 2022

Karma-Bot

The Karma-bot is intended to support various processes in the 0L organization. It sources from and stores data in json files on Github, making it pluggable for other applications and ensuring that no strict dependency is created between the app and the data it produces. The different functionalities of the Karma-bot are defined as modules.

ID Management module

The Identity Management Module enables community members to take ownership of the data involving their identity within the context of the bounty program. Only whitelisted Discord accounts will be able to update their identity. OL community Key roles can whitelist (and graylist) Discord accounts.

Features

  1. A contributors.json file on Github is the database for this module.
  2. Only official OL key roles, as confirmed by the community after voting, can whitelist Discord accounts.
  3. Whitelisted Warriors can engage with the Karma-bot and update their 0L address on which (s)he likes to be paid bounties. This address will be visible to everyone.
  4. A history of addresses must be kept in the contributors.json file to ensure data integrity related to the history of payments.
  5. As bounties can only be paid out to slow wallets, a check must be performed when a new address is introduced.
  6. Consistent error/warning messages must be returned when:
  • A key role tries to add a Discord user that is already added
  • users try to add an account but are not whitelisted
  • try to add an address which is not a slow wallet
  1. As many users could be trying to access the bot at once, we need to be sure that the app can handle concurrency.
  2. This module can make use of an internal relational database, if needed to ensure high availablity, but needs to stay in sync with the json db on Github.

Process flow

Identity_management_process_20221218

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

No branches or pull requests

1 participant