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

Release & announce Public Alpha #63

Closed
3 tasks done
Tracked by #10
bajtos opened this issue Feb 23, 2023 · 3 comments
Closed
3 tasks done
Tracked by #10

Release & announce Public Alpha #63

bajtos opened this issue Feb 23, 2023 · 3 comments
Assignees

Comments

@bajtos
Copy link
Member

bajtos commented Feb 23, 2023

  • Publish a new release of all crates (@bajtos)
  • Check that we can install the new version and the example code works (@bajtos)
  • Make the announcements
@juliangruber
Copy link
Member

@bajtos what is my task here?

@bajtos
Copy link
Member Author

bajtos commented Feb 23, 2023

@bajtos what is my task here?

I think one or more of the announcements, perhaps Twitter and SitRep? Let's discuss this next week together with @patrickwoodhead.

@bajtos
Copy link
Member Author

bajtos commented Feb 27, 2023

Publish a new release of all crates

Done: https://github.com/filecoin-station/zinnia/releases/tag/v0.1.0

Check that we can install the new version and the example code works

Done using the following two examples.

Ping over HTTP:

while (true) {
  const start = new Date();
  const res = await fetch(
    "https://ipfs.io/ipfs/bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi/",
  );
  console.log(`TTFB: ${new Date() - start}ms`);
  await new Promise((resolve) => setTimeout(resolve, 1000));
}

Ping over libp2p:

const response = await Zinnia.requestProtocol(
 "/dns/saturn-link-poc.fly.dev/tcp/3030/p2p/12D3KooWRH71QRJe5vrMp6zZXoH4K7z5MDSWwTXXPriG9dK8HQXk",
  "/ipfs/ping/1.0.0",
  new Uint8Array(32),
);

for await (const chunk of response) {
  console.log(chunk);
}

@bajtos bajtos removed their assignment Feb 27, 2023
@bajtos bajtos closed this as completed Feb 27, 2023
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

3 participants