This repository was archived by the owner on Feb 13, 2019. It is now read-only.

Description
This is important because IPFS and Swarm are still in pre-production and sometimes content is not available due to non-persistent nodes and content falling-out unless "insured"
It is important for my use-case to make sure the content is sent to both IPFS/Swarm content storage systems.
I have used javascript to POST form/file data from my website to Swarm and receive the return hash. Right after that, it POST(s) the exact same form/file content to IPFS and returns the hash of that same content store on the IPFS nodes. Once I have those four hashes (2 for the form data and 2 for the image file) it passes the blob (that includes the form content, and the four hashes) onto the EVM and stores it on-chain. Then I parse out the relevant data from the on-chain blob to get what i need.
I would love to see this in Embark.