inesc-id / dclaims-news

Hypercerts is a Verifiable Claims Manager
MIT License
6 stars 6 forks source link

DClaims-News

Table of Contents

Project Description

DClaims is a platform that enables a truly distributed and trustless way of managing claims about News articles. Currently under development.

Using the DClaims-Web-Extension users can generate claims (whose authenticity and integrity can be verified by anyone without the need of a third party) about any news article, and those claims can be presented to all other users. This all happens in a distributed and trustless form, with the use of IPFS and Ethereum.

Project Structure

DClaims is made of three main components. DClaims-Web-Extension, DClaims-Core and DClaims-Ethereum.

Installation

1. Install and configure IPFS

> npm install --save ipfs-api
# Show the ipfs config API port to check it is correct
> ipfs config Addresses.API
/ip4/127.0.0.1/tcp/5001
# Set it if it does not match the above output
> ipfs config Addresses.API /ip4/127.0.0.1/tcp/5001
# Restart the daemon after changing the config

# Run the daemon
> ipfs daemon

2. Install and configure Metamask

3. Download dclaims-news/src/dist and install it in Chrome:

4. Visit https://tecnico.ulisboa.pt/en/news/ to view claims.

5. Open a news article and to generate a claim press the Generate Claim button.

Usage

JavaScript Style Guide