@dstanesc/ipfs-core-store-access
TypeScript icon, indicating that this package has built-in type declarations

0.16.1 • Public • Published

ipfs-core w/ block storage access

Experiment. A clone of the original ipfs-core exposing the block storage to allow publishing precomputed CIDs.

Usage

import * as IPFS from '@dstanesc/ipfs-core-store-access'

const ipfs = await IPFS.create()

const cid = ...
const bytes = ...

// write
await ipfs.store.blocks.put(cid, bytes)

//read
const buf = await ipfs.store.blocks.get(cid)

License

Licensed under either of

Contribute

Contributions welcome! Please check out the issues.

Also see our contributing document for more information on how we work, and about contributing in general.

Please be aware that all interactions related to this repo are subject to the IPFS Code of Conduct.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Readme

Keywords

Package Sidebar

Install

npm i @dstanesc/ipfs-core-store-access

Weekly Downloads

0

Version

0.16.1

License

Apache-2.0 OR MIT

Unpacked Size

2.19 MB

Total Files

430

Last publish

Collaborators

  • dstanesc