filecoin-shipyard / powergate-pinning-service

A simple pinning service using textile powergate
Other
21 stars 8 forks source link

Powergate Pinning Tutorial

Status

This repository is in a frozen state. It is not being maintained or kept in sync with the tools and libraries it builds on. Even though work on this repository has been shelved, anyone interested in updating or maintaining this project should express their interest on one Filecoin community conversation mediums: https://github.com/filecoin-project/community#join-the-community.


Overview

In this tutorial, we will build a simple pinning service using Textile Powergate.

A pinning service is a remote service that helps you manage your data (like a decentralized Google Drive). In this tutorial's context the data will be managed on Filecoin & IPFS.

After completing this tutorial, you will be able to:

  1. Setup your own Powergate node.
  2. Interact with Powergate using Powergate JS Client (@textile/powergate-client)
  3. Create a simple pinning service which manages data for multiple users on IPFS & Filecoin.

Here is a sneak-peek of how the final application will look:

Login

Login

Network Stats

Network Stats

Pinning Files

Pinning Files

App Architecture Overview

Below is the 10,000 feet overview of how our application will work:

  1. A docker-compose script runs a Powergate, Lotus (filecoin client), and IPFS node.
  2. A React dashbaord showing different features of the pinning service that uses Powergate JS Client to interact with the running powergate node.

Overall Achitecture

Overall Achitecture

Powergate Architecture

Powergate Architecture

How to run

Follow [this tutorial]() on Filecoin docs to get started.

License

This is dual-licensed under Apache 2.0 and MIT terms: