I’ve been using Blockstack-todo App locally and from Blockstack homepage, I use the same Blockstack ID, but I get different contents after I approved the Blockstack signin request.
So, it seems to me that Gaia puts my data in different places, so if I don’t have my ID registered and I don’t have my zone file, where did Gaia put my data?
With Blockstack, an app’s identity is its origin - the app domain. In your example, while you’re running the same code - the blockstack-todo app - the fact that the origins are different: http://localhost:5000 vs https://blockstack-todos.appartisan.com means that data is stored in different app buckets on Gaia.
App buckets are determistically generated from your Blockstack ID and the app domain. You don’t need to have a Blockstack ID with a username to use this functionality.
You don’t need a zone file because Blockstack Browser assumes your gaia hub is the default public gaia hub that Blockstack PBC provides in the absence of a zone file specifying a different gaia hub.
If I wanna immigrate my todo list data to another online drive(google drive ,Dropbox) or a mobile disk,how can I find the data directory?You explained the reason,but not tell us “where did Gaia put my data?”
Thank you very much for your reply.
According to your explanation, it seems that we don’t have control of our data with the absence of zone files.
But currently, registering a username (to acquire access of zone files) is quite expensive(0.001115B, around $8.22), if we’re gonna develop a DApp, could you please provide the developers a way to test the effectiveness and correctness of their DApp inexpensively?
when after about one week, I tried again and find the registration process completed and my username has been taken…but I don’t know if it was me that takes the free username…could you please tell me how to check it?
Could you tell me how to calculate the app buckets based on Blockstack ID and the app domain?
By the way, could you tell me how to use my own gaia hub?
Could you tell me how to calculate the app buckets based on Blockstack ID and the app domain?
By the way, could you tell me how to use my own gaia hub?
You can do both of these with the CLI, but you’ll need to install the develop branch of Gaia in conjunction with the CLI in order to run your own Gaia hub. We’re in the process of moving this functionality to the Browser, so it can be done by non-developers.