3.0.0 • Published 4 months ago

miniswap v3.0.0

Weekly downloads
-
License
Apache-2.0 OR MIT
Repository
github
Last release
4 months 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