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

Simultaneous Content Uploads to Swarm and IPFS. #36

@blackboxlaw

Description

@blackboxlaw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions