Open Gizmotronn opened 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)
Current status of development:
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!
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).
Current view of the frontend (note all components are composed of static, prefilled/predefined data):
I feel like we might be able to take some things from @Harambe-Protocol/dashboard like @syncfusion queries...
@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
Turns out this issue is highly relevant for the inventory management planning: Notion doc
@Nathan5563 keep this in mind...
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:msg.sender
holdscontract.tokenId = 0
* 2_burn
scontract.tokenID = 0
* 2_mint
scontract.tokenId = 1
& sends it tomsg.sender
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