← Back to home

Rust-CID-npm

Rust

Fast and tiny rust library, CLI tool, and npm package to generate CIDs without a full IPFS client

Problem Statement

A minimal rust library, a CLI application, and wasm bindings exposed in an npm package to generateIPFSCIDs of a given file. It aims to befastto execute andtinyon the wire and at rest.The intent of the tools is to be for CID generation/verificationonly. It is not in any way an IPFS client, so when you don't need all ofrust-ipfsorjs-ipfsExampe use case:you want is to genereate a CID of a file on your (web)app to cross-check it's validity, an/or broadcast this to a full IPFS client.The intent of the CLI tool is to use as a dev tool, and (eventually) target embeded devices that want to interact with files on IPFS (verification, and chunking), but not be a full cient.

Solution

Usingwasm-packon the [rust-cid](https://github.com/multiformats/rust-cid) lib to get FAST cli and browser generation of CIDS without the need for a full IPFS clientDependencies:Rust IPFSRust Libp2pWasm-packnpm / node

Hackathon

HackFS

2024

Contributors