Use an Eth address as a key for database queries?

Unity dev here trying to learn Moralis for WebGl builds-

I want to use an Eth address for a key in a key/value pair. I want other users who do not “own” an Eth address to be able to access the json value that is paired with the Eth address key.

Is this possible to do with Moralis easily? Or should I use another solution?

I want a user to be able to login with the Eth address they own but I also want to make the json value attached to Eth address key publicly accessible for any other user who copy/pastes the address into to ui etc-


You can store the key/value pair and eth address on a database class, so that any other user can query from the UI.

Check this docs:

1 Like