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

CDIP 15 - Unlock Badges in Staging-Forum through Web3 Interactions #536

Closed
9 of 11 tasks
twblack88 opened this issue Apr 27, 2020 · 2 comments
Closed
9 of 11 tasks
Labels
enhancement New feature or request

Comments

@twblack88
Copy link
Contributor

twblack88 commented Apr 27, 2020

Title: Unlock Badges in Staging-Forum through Web3 Interactions
Your name/handle: @web3developer
Links:
CDIP-2 Non-transferable Badges for Maker Ecosystem Activity
November 8th conversation in #General
staging-forum.makerfoundation.com/badges

Abstract:Community Members have requested badges for their activity in the Maker Ecosystem. Badges are already implemented in the forum, but they are limited to interactions within the forum. Badges gamify community engagement and have proven successful on platforms like Xbox Live, Playstation Network, Steem, Uber, AirB&B, and government agency service.

In order for Maker Ecosystem badges to be displayed in forums, a web3 integration must be implemented in order for the forum server to map a user to an Ethereum address(es) and to read badge data from on-chain. The concept will be proven with POAP tokens.

  • install a web3 Ruby gem and a web3 JavaScript package to the staging-forum source code (or install 3box) (½ day)
  • create a forum badge for holding any POAP token (¼ day)
  • create a forum badge for holding a specific POAP token (¼ day)
  • satisfy test: if the user logs in, and they are not mapped to an address, notify them through discobot (1 day)
  • satisfy test: the user signs a message on the front-end proving that they control a given private key (2 days)
  • satisfy test: the server maps the signed message to the user’s record in the database (2 days)
  • satisfy test: the server queries the chain for badge data at the associated address (1 day)
  • satisfy test: the server updates the user’s record with badge data (2 days)
  • satisfy test: the front-end renders badges on the user’s profile (2 days)
  • satisfy test: user can add additional address to unlock badges at those addresses (1 day)
  • create documentation to describe how to apply this function to CDIP-18 (3 days)
    Demonstrate functionality on a Comm-Dev call
@twblack88 twblack88 added CDIP enhancement New feature or request labels Apr 27, 2020
@amy-jung amy-jung changed the title CDIP 15 CDIP 15 - Unlock Badges in Staging-Forum through Web3 Interactions May 6, 2020
@twblack88
Copy link
Contributor Author

All tasks now live on Aaron's repo: https://github.com/andersonmmi/3box-discourse-theme-component/projects/1

After a two week rabbit hole about backends versus 3box it makes more sense to pursue a web3 ruby gem and javascript package for the backend of the staging forum.

@twblack88
Copy link
Contributor Author

twblack88 commented Oct 15, 2020

Live forum post
Demo video

Badges ownership moved to @creativeKoder (from now on )next steps are

  • to bring together everything in a mono repo (themes, plugins, and staging code)
  • setup any testing infrastructure
  • fix a couple of bugs with badge redemption
  • set a meeting for next steps and next badges

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant