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

Store encrypted files on IPFS and link to POD attributes #1438

Closed
annamehr opened this issue Jun 8, 2023 · 1 comment · May be fixed by #1328
Closed

Store encrypted files on IPFS and link to POD attributes #1438

annamehr opened this issue Jun 8, 2023 · 1 comment · May be fixed by #1328
Labels
P2 medium priority

Comments

@annamehr
Copy link
Contributor

annamehr commented Jun 8, 2023

Background

When creating an asset the user wants to upload a file on top of entering all the asset details that are needed to tokenize the asset.

Requirements

  • Add the option to upload a pdf file when creating an asset
  • Currently it’s pinning the file as a JSON file that’s basically { contents: base64encodedcontents }.
  • In the future store it as a normal file which contents just are base64encodedcontents (Jeroen ran into issues with that)

Jeroen: I think the decoding was failing because it couldn’t infer the content type, or something like that. The advantage would be that it would be more generic: external files that don’t follow this specific JSON format could more easily be used.

  • When properly reviewed (SR Labs?) move the encryption methods into centrifuge.js.
@sonam-jo
Copy link

data protocol in the near future, will be private fields rather than encrypted content - don’t have pod anymore

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

Successfully merging a pull request may close this issue.

4 participants