juan-rsk / rif-data-vault

RIF Data Vault

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

RIF Data Vault

A user centric cloud storage system

docs alerts

The Data Vault is a user-centric cloud service. Allows any user with a digital wallet to connect to their own storage cloud, encrypting their information on the client side.

The project consists of 3 modules:

  • the provider of the data vault service. This module implements the business logic, storing and pining files on IPFS
  • the service API. It allows modifying the implementation of the provider's messages without modifying the API, keeping the SDK compatible
  • the SDK. An npm package that allows you to connect to the Data Vault from the web browser using different web3 wallets

Setup

Install dependencies

npm i
npm run setup
npm run build

Install IPFS CLI. Find your option: https://docs.ipfs.io/how-to/command-line-quick-start/.

To run an instance of the Data Vault refer to Data Vault service configuration

Test

  1. Init IPFS (once)
ipfs init
  1. Start IPFS Daemon
ipfs daemon
  1. Run tests
npm test

or watch mode with

test:watch

Lint

npm run lint

About

RIF Data Vault

License:MIT License


Languages

Language:TypeScript 99.5%Language:JavaScript 0.4%Language:Dockerfile 0.1%