Is there any way that I have a table on moralis, lets say “User” and moralis make this table sync with blockchain ( for example syncing my User.name & User.family with the same variables on my contract ) that I only save my data on moralis table and it holds data synced with blockchain?
Hi,
Is that information already present on blockchain and you want to sync it in the database or that information is in database and somehow you want to add it on chain in a contract?
actually non of them, I’m looking for a service that for example: when you save User.name in DB with a request, the service provider ( moralis ) do the rest and update the contract state with this User.name, and make contract sync with your data base constantly
You will have to implement this in the backend, in order to make a contract update you will have to make a transaction on chain, you will need a hardcoded private key in the backend if you want to send transactions to the blockchain automatically.
Thank you for your answer, yes, actually I have it in the backend right now, but I was researching if there is a database that can be synced with blockchain, for instance for games, there is an engine named “mud.dev” that can manage the syncing game state on blockchain, I was searching for something like this but for DB
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.