Will anything be put into blockchain after uploading a file?


#1

I have two questions about the storage in blockstack:
Is the function putFile() in blockstack-js the only way to upload a file?
And will anything about the file be put into the underlying blockchain or just simply put the file into Gaia?


#2

Is the function putFile() in blockstack-js the only way to upload a file?

No – you need to make a POST to your Gaia hub. That’s all putFile() does – it takes your data and POSTs it to your Gaia hub.

And will anything about the file be put into the underlying blockchain or just simply put the file into Gaia?

It gets sent to Gaia only. The blockchain is not used.


#3

Great question @wayneblock.id.blocks and thanks for the answer @jude, I’ve incorporated this information in to the Gaia docs I’m working on.


#4

I’m uploading compressed images as base64 inside a json at Fupio.com
that was my solution.
check the source code below;