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

BNT-1: Chunked upload/download library #1

Closed
domwoe opened this issue Aug 23, 2022 · 4 comments
Closed

BNT-1: Chunked upload/download library #1

domwoe opened this issue Aug 23, 2022 · 4 comments

Comments

@domwoe
Copy link
Member

domwoe commented Aug 23, 2022

Overview

  • Project Type: Traditional - One worker contributes, and one worker is paid
  • Time Commitment: Weeks
  • Experience Level: Intermediate
  • Size: USD 5'000 in ICP

Description

The maximum size of an ingress message to the Internet Computer, as well as the response, is currently limited to 2MB. If you want to upload/fetch files that are larger than this limit you have to slice them into chunks and assemble these chunks. This bounty targets the JS/TS client library and must be compatible with the interface of the assets canister.

Use Cases

Upload a file of arbitrary size to a canister exposing an interface compatible with the assets canister. API should allow parallel and sequential uploading.

Fetching a file of arbitrary size from a canister that exposes an interface compatible with the asset canister. Certification should be checked if the certification header is set (See Service worker code as reference)

Acceptance Criteria

References

@domwoe
Copy link
Member Author

domwoe commented Aug 23, 2022

@sea-snake is taking this bounty based on his work on https://github.com/slide-computer/assets-js

@domwoe
Copy link
Member Author

domwoe commented Aug 23, 2022

WIP PR: dfinity/agent-js#603

@domwoe domwoe changed the title Chunked upload/download library BNT1: Chunked upload/download library Aug 31, 2022
@domwoe domwoe changed the title BNT1: Chunked upload/download library BNT-1: Chunked upload/download library Aug 31, 2022
@domwoe
Copy link
Member Author

domwoe commented Oct 19, 2022

@domwoe
Copy link
Member Author

domwoe commented Dec 15, 2022

Bounty has been completed by @sea-snake

@domwoe domwoe closed this as completed Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant