Signal-K/marketplace

Smart contract for "deddit"

Gizmotronn opened this issue · 3 comments

A smart contract for the social networking component of the marketplace, nicknamed "Deddit" aka Decentralised(r)eddit due to the similar UI and style of the Reddit network.

Trying to investigate how to build a frontend for user posts that interacts with Moralis (and can maybe be taken off Moralis later, to something like Enjin etc) and the game, using the user's Eth account. I want to figure out how to get this to work in conjunction with other player-created networks like matrix-type (e.g. discord servers) instances so we can have an open standard for things like in-game alliances, discussions, transactions and an easy way to view all of them

This can also be translated to working with non-decentralised apps & games.

Building the contract - #7

Bugs/Errrors - 7.1

  • Typo with _contentId & event ContentAdded -> set as bytes3 instead of bytes32 | 7.1.1
  • Validate/define validateReputationChange | 7.1.2
  • Add address to listen to for Moralis Admin abi | 7.1.3
    Important: using Metamask address (as a placeholder) for now, however we need to define an address for the smart contract -> use Moralis video address for when we push to semi-production stage?

Features to add - 7.2

  • Ability to add comments to postId(s)
  • User reactions

Integrations - 7.3

  • Integrating with Cadence directory
  • Simple API for sending updates to Slack, Discord / Matrix
  • Extending the API (see section 7.7)

Extending/Integrating (with rest of marketplace) - 7.4

  • Rewarding users with "Star Sailors coin"
  • Test net implementation for transactions/validations (like making posts) so that users don't have to spend their in-game currency to log in, post, etc
  • Extending "7.4.2", a faucet based on reputation awarding users currency so that users who contribute can continue to contribute and reward others

Integrating (with Star Sailors) - 7.5

Integrating (with Signal-K backend) - 7.6

  • Integrating with Quartz
  • Integrating with various Vercel apps & gh-packages

Extending the API

  • Allow for subscribing to favourite categories on messsaging frontend (like slack's github app subscription to repo events)
  • Allow for creation of posts (connecting wallet to matrix/chat provider)

Eventually we'll need to move a lot of these tasks to their own separate issues, but for now we'll leave them here

Just leaving this as a separate message in this issue, I'm going to be thinking about ways to get these react components in the decentralised network to integrate with other things like matrix and the web-frontend of our games.

Update: https://github.com/ReactUnity/core (UNITY!!)

Remember: https://github.com/Signal-K/marketplace/tree/main-full is the backup of main as of this moment