Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best practices for referencing files #55

Open
denisnazarov opened this issue Oct 31, 2016 · 1 comment
Open

Best practices for referencing files #55

denisnazarov opened this issue Oct 31, 2016 · 1 comment

Comments

@denisnazarov
Copy link
Contributor

from marionzualo in slack

How can I publish things to the network? this section (https://github.com/mediachain/concat#publishing-statements) has some details on the topic but it seems to focus on metadata, but I could not find any "add file" command that would give me an IPFS style hash that then could be added to the metadata.

Can this happen as part of the data preparation process for now, i.e. we provide an optional out-of-band script that pins files to IPFS and adds references to your metadata.

@parkan
Copy link
Contributor

parkan commented Oct 31, 2016

This may or may not be easy in the near future, depending on our degree of IPFS interop. Right now the user can do this:

  • ipfs add <file>
  • manually set a key to the returned value
  • import as normal

However, this will not generate valid IPLD, and I don't want to make people hand-roll the link keys. This also obviously won't pin the object elsewhere, and we are still at the whim of NAT traversal. Hmm. @yusefnapora any thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants