Signal-K / sytizen

Citizen Science (Sci-tizen) visualisation in the Unity.com engine
http://ar.skinetics.tech/stellarios/compass/#vis
MIT License
1 stars 1 forks source link

πŸ‘ΎπŸ”¬ ↣ Generator (Ansible) + Evolution mechanism for NFTs in [SCD-8] #6

Open Gizmotronn opened 2 years ago

Gizmotronn commented 2 years ago

To test out a crafting/evolution system, I've begun work on a Pokemon-type evolution smart contract. Burning two of the same ERC-1155 IDs (e.g. a base-class spaceship) creates a new NFT (e.g. a second-tier spaceship) using the following data flow:

This can be used for crafting items, transferring items, etc

Let's try and get user NFT metadata working inside the frontend, add a crafting feature (triggering _burn & _mint functions of deployed contract using Moralis Unity/C# SDK) and have all actions be recorded & retrievable from our backend infrastructure in #1 #5

Gizmotronn commented 2 years ago

It would be a good idea to keep track of this: https://github.com/app-generator/flask-soft-ui-dashboard/

After finishing the basic UI, let's get to work on deploying the same queries that were in https://github.com/Signal-K/marketplace/issues/32 and then sending the data from the queries to Supabase (along with authentication data), and then to Flask (inside ./server on planti branch in THIS repository.

Then we can use the Moralis Unity SDK inside https://github.com/Signal-K/starsailors-boilerplate/issues/1, https://github.com/Signal-K/starsailors-boilerplate/issues/3, unity-demo, https://github.com/Signal-K/Unity-Demo/issues/28 to pull (GET) data from the Flask API, interacting with the EVM using Moralis, and then pushing (POST) data back to Flask.

After this, we can get to work on running this from deployed Jupyter notebooks (Anvil as widget/jupyter widget inside planti) and getting data from LightKurve running, including the graph generation (both web-side and client(unity)-side)

Gizmotronn commented 2 years ago

Current status of development: image

Nice-looking frontend so far, just need to update the styling, add some more features as per https://github.com/Signal-K/marketplace/issues/32 and improve the responsive nature, and then we can add the Ansible functionality!

Gizmotronn commented 2 years ago

To keep things simple, I'm going to use the Supabase JS SDK right now so I don't have to constantly keep Flask running while developing the frontend in its current state, however as soon as we've got some basic integrations we'll do as much as possible of the data retrieval & manipulation through Flask (still need to look at how Moralis fits in there).

Gizmotronn commented 2 years ago

Current view of the frontend (note all components are composed of static, prefilled/predefined data):

image

I feel like we might be able to take some things from @Harambe-Protocol/dashboard like @syncfusion queries...

Gizmotronn commented 1 year ago

@Nathan5563 you'll find the code here: https://github.com/signal-k/sytizen/issues/6#ref-commit-383f83b

Resources: game 1, game 2. Build them when you can, and then add the contract address here so I can use Moralis to query them.

Use this private key to deploy: https://linear.app/star-sailors/issue/STA-15/test-jupyter-notebooks-with-anvil#comment-aa396f17

Gizmotronn commented 1 year ago

Turns out this issue is highly relevant for the inventory management planning: Notion doc

@Nathan5563 keep this in mind...