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

Smart contract for "deddit" #7

Open
2 of 15 tasks
Gizmotronn opened this issue Dec 13, 2021 · 3 comments
Open
2 of 15 tasks

Smart contract for "deddit" #7

Gizmotronn opened this issue Dec 13, 2021 · 3 comments
Assignees
Labels
api Internal API construction api-external API & Integrations with apps/programs not built by Signal-K erc ethereum tokens matrix (api-external) with chat/community apps like Matrix/Keybase >> Discord,Slack social contracts Contracts relating to the social aspects of the marketplace

Comments

@Gizmotronn
Copy link
Member

Gizmotronn commented Dec 13, 2021

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)
@Gizmotronn Gizmotronn added social contracts Contracts relating to the social aspects of the marketplace erc ethereum tokens labels Dec 13, 2021
@Gizmotronn
Copy link
Member Author

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

@Gizmotronn Gizmotronn added api Internal API construction api-external API & Integrations with apps/programs not built by Signal-K matrix (api-external) with chat/community apps like Matrix/Keybase >> Discord,Slack labels Dec 13, 2021
Gizmotronn added a commit that referenced this issue Dec 13, 2021
Gizmotronn added a commit that referenced this issue Dec 13, 2021
@Gizmotronn
Copy link
Member Author

Gizmotronn commented Dec 19, 2021

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!!)

@Gizmotronn
Copy link
Member Author

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

Gizmotronn added a commit to Gizmotronn/comments that referenced this issue Jun 9, 2022
Signal-K/marketplace#7

getComments was duplicated

Clean hardhat and recompile
Gizmotronn added a commit to Signal-K/starsailors that referenced this issue Jul 26, 2022
…ler sample scene for [SCD-1]

Character controller:
This is a 3d controller that currently has a method/class for taking in mouse input (x-axis and y-axis) and the player keyboard input for transform.position movement (mouse handles transform.rotate)

Graph:
Currently need to add a new package/utils library but other than that the logic for the graph is working and will be tapped into Signal-K/marketplace#7 and Signal-K/starsailors-boilerplate#2, taking in classification data and outputting it to a 3d object (nft -> #1) as well as other game-objects. Smart contract is being handled in marketplace repo for now (check submodule and referenced issues there)
Gizmotronn added a commit to Signal-K/client that referenced this issue Jan 24, 2023
We've got some 3d planets being rendered in javascript, these are based on the initial C# algorithms in Signal-K/starsailors#4, Signal-K/starsailors-boilerplate#1

We've got some plans to generate nfts from this: Signal-K/sytizen#18. The models here are based on the C# model, we'll have an API call setup later so that they're both equivalent to each other directly.

Next step is setting up some image exports and saving user data, providing a way for users to export the 3JS graphic to their Supabase storage row. That will be commenced later on tonight.

All the fields will be set to be callable via an API & we will compare the output of different Deepnote graphs generated from `lightkurve` to provide further adjustments to either end.
One issue is that on the frontend for the generator, some of the components aren't selectable. This is because the original example components were built for a much older version of React>Next. Since these will be callable via a custom API, and the editor will be changed to be a form, that won't be an issue.

Docs available at the central issues on signal-k org

Signal-K/marketplace#19
Signal-K/marketplace#3
Signal-K/marketplace#7
Signal-K/Silfur#26 -> These will be added to posts on the image/comment sharing part of the site (and later on Lens -> team members can refer to the roadmap) so that will be routed internally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Internal API construction api-external API & Integrations with apps/programs not built by Signal-K erc ethereum tokens matrix (api-external) with chat/community apps like Matrix/Keybase >> Discord,Slack social contracts Contracts relating to the social aspects of the marketplace
Projects
Status: In Progress
Development

No branches or pull requests

2 participants