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

chore: use w3up client final version #190

Merged
merged 3 commits into from
Jun 4, 2024

Conversation

vasco-santos
Copy link
Contributor

@vasco-santos vasco-santos commented Jun 4, 2024

Needs to wire a server to serve a receipt agent message so that we can finish the upload blob flow, given this uses a server also for storing data

@vasco-santos vasco-santos force-pushed the chore/use-w3up-client-final-version branch from 21c1c3f to a7f0990 Compare June 4, 2024 14:26
const cid = Link.create(raw.code, digest)
spinner.stopAndPersist({ symbol: '⁂', text: `Stored ${base58btc.encode(digest.bytes)} (${cid})` })
const { multihash } = await client.capability.blob.add(blob, {
receiptsEndpoint: client._receiptsEndpoint.toString()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -0,0 +1,79 @@
import http from 'http'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -0,0 +1,61 @@
import { CarWriter } from '@ipld/car'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vasco-santos vasco-santos force-pushed the chore/use-w3up-client-final-version branch from a7f0990 to b4ec8e0 Compare June 4, 2024 14:31
@vasco-santos vasco-santos force-pushed the chore/use-w3up-client-final-version branch from b4ec8e0 to 4e7f40c Compare June 4, 2024 14:35
@vasco-santos vasco-santos requested a review from joaosa June 4, 2024 14:39
@vasco-santos vasco-santos merged commit 82f3d76 into main Jun 4, 2024
1 check passed
@vasco-santos vasco-santos deleted the chore/use-w3up-client-final-version branch June 4, 2024 14:42
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

Successfully merging this pull request may close these issues.

2 participants