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

AIP-18: Decentralized file transfer #55

Open
adamant-al opened this issue Apr 14, 2024 · 2 comments
Open

AIP-18: Decentralized file transfer #55

adamant-al opened this issue Apr 14, 2024 · 2 comments

Comments

@adamant-al
Copy link
Member

Discussing #54

@adamant-al adamant-al changed the title AIP-18: Decentralized file transfers AIP-18: Decentralized file transfer Apr 14, 2024
@adamant-al
Copy link
Member Author

adamant-al commented Apr 14, 2024

Consider creating a separate preview object and removing file_ prefixes:

{
  "files": [
    {
      "preview": {
        "id": "String",
        "type": "String",
        "size": Int64,
        "nonce": "String",
        "resolution": [Float, Float]
      },
      "id": "String",
      "type": "String",
      "size": Int64,
      "name": "String",
      "nonce": "String",
      "resolution": [Float, Float]
    }
  ],
  "storage": "String",
  "comment": "String"
}

@adamant-al
Copy link
Member Author

Consider converting storage to an object.

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

1 participant