Hi,
I am building a game that can potentially run without server and use only web3 api. The only gotcha is that it require to store data between transactions.
Currently I store data in localStorage but this means that a player has to go back to the device where the game started in order to continue playing.
I was thinking to encrypt that data and store it on our server. Unfortunately web3 does not have such api yet. I could of course encrypt using another key that the player memories/record somewhere but a web3 api would be much better.
But I would like to go further. I think it will be common for dapps to require secret data to be kept between several transaction (ens registrar dapp for example) and web3 should provide an api to not only encrypt data but to store and retrieve it. If it become a standard, dapps can then rely on that feature to give a better experience to their user.
Node themeselves could provide a simple api to store and retreive encrypted data.
There are of courses security issues arround that but we could follow what browser do with domains and only page retrived for a specific domain could retrive data saved at that same domain.
What do you think?
Would metamask be interested to provide an encrypted storage space for its user ?
It would be of course synced across all metamask instance using the same vault
Hi,
I am building a game that can potentially run without server and use only web3 api. The only gotcha is that it require to store data between transactions.
Currently I store data in localStorage but this means that a player has to go back to the device where the game started in order to continue playing.
I was thinking to encrypt that data and store it on our server. Unfortunately web3 does not have such api yet. I could of course encrypt using another key that the player memories/record somewhere but a web3 api would be much better.
But I would like to go further. I think it will be common for dapps to require secret data to be kept between several transaction (ens registrar dapp for example) and web3 should provide an api to not only encrypt data but to store and retrieve it. If it become a standard, dapps can then rely on that feature to give a better experience to their user.
Node themeselves could provide a simple api to store and retreive encrypted data.
There are of courses security issues arround that but we could follow what browser do with domains and only page retrived for a specific domain could retrive data saved at that same domain.
What do you think?
Would metamask be interested to provide an encrypted storage space for its user ?
It would be of course synced across all metamask instance using the same vault