Presented by: Core Dev Team

Technical Walkthrough

BLOCKHAIN LAYER

STREAMING LAYER

STORAGE LAYER

CONSENSUS PROTOCOL

ARCHITECTURE OVERVIEW

NEM Catapult

PeerStream Protocol - Media Routing, Presence and Messaging

IPFS P2P Storage

Proof of Importance, Proof of Storage and Proof of Bandwidth

API Gateway

External DApp Development

IPFS (Interplanetary File System)

IPFS is a protocol and network designed to create a content-addressable, peer-to-peer method of storing and sharing hypermedia in a distributed file system

How IPFS Works

Bob adds a file to IPFS and is assigned a unique fingerprint called a cryptographic hash. Automatic deduplication of data prevents duplicate files.
(example: QmR7GSQM93Cx5e...)

Alice downloads the file using the unique hash.
When looking up files, you're asking the network to find nodes storing the content behind a unique hash

Ken downloads the same file using the hash.

Downloads simultaneously from different nodes as files are segmented into chunks, each with 256kb size

NEM Blockchain Platform

Block
~120 TXNs
Transaction 1..120
Block
~120 TXNs
Transaction 1..120
Block
~120 TXNs
Transaction 1..120
Block
~120 TXNs
Transaction 1..120

 A message of at most 1024 bytes can be attached to each transfer transaction. This makes storing of large files in the blockchain impossible! 

Combining NEM and IPFS

The ProximaX Solution

Block
Transfer Transaction
Message









 
{
   "digest":"04d185c832f6.....",
   "hash":"QmWDQegEhLdCUWF6a...",
   "keywords":"plain,file,text",
   "metaData":"{'name':'some-data'}",
   "name":"filename.txt",
   "timestamp":1521154256963,
   "type":"text/plain"
}
Field Description
digest This is a content based signature of the file for validation
hash The base58 encoded string IPFS reference
keywords A custom field that can be used to tag a specific file. Searchable
metaData JSON structured text for additional meta data. Searchable
name The name of the file (with or without extension)
timestamp The actual time that the file was uploaded to IPFS
type Content type of the file

ProximaX P2P Storage Benefit

High Availability
Files can be replicated across peers to ensure that they are always available to be consumed by any peers on the network.

Fault tolerant
Peers on the network allows operational continuity in the event of single or multiple peer failure

Deduplication
The solution will have a data compression technology that detects duplicate files and avoid copying the same file to the
network.

ProximaX P2P Storage Benefit

Content-addressable storage

A mechanism for storing information that can be retrieved based on its content, not its storage location

 

Scalability

The storage solution will scale based on the number of peers that participates on the network

 

Web Service HTTP API

The P2P storage nodes will have a built in Exposed Web Services endpoints for developers to easily integrate the storage with their decentralised applications.

 

ProximaX Ecosystem

NEM Blockchain Platform Consensus Protocol

Full client ProximaX node - it runs an IPFS locally

Light client ProximaX node - only interfaces through the HTTP REST Endpoint

ProximaX Technical Overview - (trimmed down version)

By carloproximax

ProximaX Technical Overview - (trimmed down version)

ProximaX Technical Overview - storage

  • 592