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

Feature request: calculate Swarm reference hash of content #439

Open
crtahlin opened this issue Jan 23, 2023 · 2 comments
Open

Feature request: calculate Swarm reference hash of content #439

crtahlin opened this issue Jan 23, 2023 · 2 comments
Labels

Comments

@crtahlin
Copy link

Would like to have a feature available, to calculate Swarm reference hash of content.

Use case: to be able to verify that the hash of downloaded content is as expected.

@Cafe137
Copy link
Collaborator

Cafe137 commented Aug 31, 2023

The new swarm-cli release has a hash function that calculates the Swarm hash of a single file. Do note that this corresponds to the /bytes endpoint, not the /bzz.

This feature will be improved upon for full support.

swarm-cli-hash

@0xCardinalError
Copy link

0xCardinalError commented Aug 31, 2023

This would be needed on directories mostly.
For example, if you upload a webpage it is a directory, if you upload NFTs it is a directory etc

Doing just for files isn't really solving the issues we created.
Can we have it for directories, please?

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

No branches or pull requests

3 participants