Giter Club home page Giter Club logo

filecoin-retrieval-browser-extension's Introduction

filecoin-retrieval-browser-extension

The Filecoin Rerieval Browser Extension is a browser-based p2p network for performing retrievals from the Filecoin network. End users will be able to use this tool to retrieve files from a marketplace of competing proviers of data. Retrieval miners will be able to use this tool to generate income by providing files for retrieval.

The tool is currently unfinished, but we hope to launch it in Q3 of 2020. Get in touch if you'd like to get involved.

Install

yarn

then

yarn build

Add it to your browser

  • Chrome

    • Open the Extension Management page by navigating to chrome://extensions.
    • Enable Developer Mode by clicking the toggle switch next to “Developer mode“.
    • Click the “Load unpacked“ button
    • Select the extension’s build/ directory.
  • Firefox

    • Navigate to about:debugging)
    • Click “This Firefox”
    • Click “Load Temporary Add-on”
    • Open the extension’s build/ directory and select any file inside the folder.
  • Edge

    • Open the Extension Management page by navigating to edge://extensions/.
    • Enable Developer Mode by clicking the toggle switch next to “Developer mode“.
    • Click the “Load Unpacked“ button
    • Select the extension’s build/ directory.

Development Status

Payment Channels (PCH) Status
Basic browser extension (js-libp2p)
Peer to peer networking
CID discovery by gossipsub (request+response)
Local CID inventory, retrieval deal status
Data transfer with js-ipfs-unixfs chunking
Hooks for vouchers on each block
Can create on chain payment channels + vouchers
Voucher handling logic
Retrieval from stoage miners

The Network

This extension forms a js-libp2p peer-to-peer network of nodes who use gossipsub to announce content (CIDs) they are seeking, as well as responding to other other peer's requests with offers to provide that content.

Since all stored data originates on Filecoin miners, a network component called the Cloud Lotus (yellow) provides an interface between the browser retrieval network (green) and the Lotus storage miners (blue). Retrieval miners can choose to purchase content from storage miners for resale on the browser retrieval network. Retrieval miners compete with one another to make data available for purchase to end users of the retrieval network browser extension.

The cid_oracle is a public server that provides mappings between Piece CIDs, Payload CIDs and miner addresses that are visible on chain. This helps retrieval miners locate content to make available for purchase.

Contributing

Contributions are welcome! Start by checking the issues, or propose a better way to implement this crate.

License

Dual-licensed under MIT + Apache 2.0

filecoin-retrieval-browser-extension's People

Contributors

gfpacheco avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.