Skip to content

Smart contract for "deddit" #7

Description

@Gizmotronn

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

apiInternal API constructionapi-externalAPI & Integrations with apps/programs not built by Signal-Kercethereum tokensmatrix(api-external) with chat/community apps like Matrix/Keybase >> Discord,Slacksocial contractsContracts relating to the social aspects of the marketplace

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions