etherfs
[![Build Status][travis-image]][travis-url]
[![Coveralls Status][coveralls-image]][coveralls-url]
[![Dependency Status][depstat-image]][depstat-url]
Description
-----
Use Ethereum as a Key-Value secured distributed database to add mutability and source verification to the IPFS. The
initial target was to support both nodejs and browser. But, the browser is delayed to be implemented.
Purpose
-----
provide a simple, easy and convenient library for developers to develop application using Ethereum + IPFS
Language
-----
ES6 (Babel transpile)
Proposed dependencies
-----
- Web3
- Ipfs
Management tool
-----
- yarn
npm
Potential use case
-----
See "Use Case.md"
Feature
-----
$3
1. You can't verify who uploaded that. e.g. if you provide
2. The mutability is limited. Although you can use IPNS to have an address mapped to a hash, you can't have multiple users modify the mapping and one node is binded to only one object(hash) for now.
Bugs
-----
1. Deletion doesn't work at the moment.
Installation
``
$ npm install --save etherfs
`
Usage
`
js
var etherfs = require('etherfs');
`
API
$3
Description
#### Parameters
- Array data
: An array of data
- Object options
: An object containing the following fields:
#### Return
- Array - Result
Development
- npm run build
- Build task that generates both minified and non-minified scripts;
- npm run test-server
- Run Mocha tests once;
- npm run test-browser
- Run Mocha tests in the browser using Karma once;
- npm run test
- Shortcut for npm run test-server && npm run test-browser
;
- npm run tdd
- Run Mocha tests & watch files for changes;
- npm run tdd-browser
- Run Karma (w/ Mocha) tests & watch files for changes;
- npm run coverage` - Run Isparta, a code coverage tool;
License
MIT ©
yxliang01
[travis-url]: https://travis-ci.org/yxliang01/etherfs
[travis-image]: https://img.shields.io/travis/yxliang01/etherfs.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/yxliang01/etherfs
[coveralls-image]: https://img.shields.io/coveralls/yxliang01/etherfs.svg?style=flat-square
[depstat-url]: https://david-dm.org/yxliang01/etherfs
[depstat-image]: https://david-dm.org/yxliang01/etherfs.svg?style=flat-square