4.0.1 • Published 1 year ago

miniswap v4.0.1

Weekly downloads
-
License
Apache-2.0 OR MIT
Repository
github
Last release
1 year ago

Miniswap

Build JavaScript Style Guide

Miniature Bitswap implementation, remote read only.

Install

npm install miniswap

Usage

import { Miniswap, BITSWAP_PROTOCOL } from 'miniswap'

const miniswap = new Miniswap(blockstore)

libp2p.handle(BITSWAP_PROTOCOL, miniswap.handler)

Contributing

Feel free to join in. All welcome. Open an issue!

License

Dual-licensed under MIT + Apache 2.0