@tradle/engine
SDK for real-rime auditable blockchain-based messaging
Last updated a month ago by pgmemk .
GPLv3 · Original npm · Tarball · package.json
$ cnpm install @tradle/engine 
SYNC missed versions from official npm registry.

tradle engine

SDK for real-rime auditable blockchain-based messaging

Overview

Build status

This main component of Tradle's SDK is two-turbine engine, a two-channel communication device: 1) real-time messaging, and 2) blockchain seals. Messages can be plain or structured messages. The engine is made to work on mobiles, desktops and servers. Having one codebase is important to minimize security reviews.

The engine is designed to work with intermittent connections, common on mobile devices. For that it keeps an internal log of all actions and events, and resumes operations as soon as network connection is restored.

The engine's operations are covered by a patent. The tatent is filed only for defensive purposes, so you are welcome to use it in your open source projects.

this module is used by Tradle

The engine provides a higher level API to a number of low level Tradle components. A UI is developed separately. Currently we focus on React Native based UI for iOS and Android, see the preview video

Datalog

This module uses a datalog, a log-based database of experienced activity that you can use to bootstrap your own databases from.

Messaging API

Details to follow

Usage

See examples

Events

tim.on('ready', function () {...})

the engine has completed initialization. You don't need to wait for this event, internal logic takes care of it.

tim.on('message', function (message, sender) {...}

You've received a message from sender

tim.on('wroteseal', function (seal) {...}

An object was sealed to a blockchain

tim.on('readseal', function (seal) {...}

An object was read off chain

tim.on('sent', function (msg) {...}

A message was successfully delivered

Current Tags

  • 8.3.0                                ...           latest (a month ago)
  • 5.3.4                                ...           old (2 years ago)

93 Versions

  • 8.3.0                                ...           a month ago
  • 8.2.0                                ...           2 months ago
  • 8.1.0                                ...           2 years ago
  • 8.0.0                                ...           2 years ago
  • 7.0.4                                ...           2 years ago
  • 7.0.3                                ...           2 years ago
  • 7.0.2                                ...           2 years ago
  • 7.0.1                                ...           2 years ago
  • 7.0.0                                ...           2 years ago
  • 6.0.0                                ...           2 years ago
  • 5.3.4                                ...           2 years ago
  • 5.5.0                                ...           3 years ago
  • 5.4.0                                ...           3 years ago
  • 5.3.3                                ...           3 years ago
  • 5.3.2                                ...           3 years ago
  • 5.3.1                                ...           3 years ago
  • 5.3.0                                ...           3 years ago
  • 5.2.0                                ...           3 years ago
  • 5.1.1                                ...           3 years ago
  • 5.1.0                                ...           3 years ago
  • 5.0.1                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
  • 4.10.3                                ...           3 years ago
  • 4.10.2                                ...           3 years ago
  • 4.10.1                                ...           3 years ago
  • 4.10.0                                ...           3 years ago
  • 4.9.0                                ...           3 years ago
  • 4.8.2                                ...           3 years ago
  • 4.8.1                                ...           3 years ago
  • 4.8.0                                ...           3 years ago
  • 4.7.1                                ...           3 years ago
  • 4.7.0                                ...           3 years ago
  • 4.6.0                                ...           3 years ago
  • 4.5.2                                ...           3 years ago
  • 4.5.1                                ...           3 years ago
  • 4.5.0                                ...           3 years ago
  • 4.4.0                                ...           3 years ago
  • 4.3.0                                ...           3 years ago
  • 4.2.0                                ...           3 years ago
  • 4.1.2                                ...           3 years ago
  • 4.1.1                                ...           3 years ago
  • 4.1.0                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.10.4                                ...           3 years ago
  • 3.10.3                                ...           3 years ago
  • 3.10.2                                ...           3 years ago
  • 3.10.1                                ...           3 years ago
  • 3.10.0                                ...           3 years ago
  • 3.9.4                                ...           3 years ago
  • 3.9.3                                ...           3 years ago
  • 3.9.2                                ...           3 years ago
  • 3.9.1                                ...           3 years ago
  • 3.9.0                                ...           3 years ago
  • 3.8.4                                ...           3 years ago
  • 3.8.3                                ...           3 years ago
  • 3.8.2                                ...           3 years ago
  • 3.8.1                                ...           3 years ago
  • 3.8.0                                ...           3 years ago
  • 3.7.4                                ...           3 years ago
  • 3.7.3                                ...           3 years ago
  • 3.7.2                                ...           3 years ago
  • 3.7.1                                ...           3 years ago
  • 3.7.0                                ...           3 years ago
  • 3.6.1                                ...           3 years ago
  • 3.6.0                                ...           4 years ago
  • 3.5.0                                ...           4 years ago
  • 3.4.3                                ...           4 years ago
  • 3.4.2                                ...           4 years ago
  • 3.4.1                                ...           4 years ago
  • 3.4.0                                ...           4 years ago
  • 3.3.1                                ...           4 years ago
  • 3.3.0                                ...           4 years ago
  • 3.2.0                                ...           4 years ago
  • 3.1.0                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.5.3                                ...           4 years ago
  • 2.5.2                                ...           4 years ago
  • 2.5.1                                ...           4 years ago
  • 2.5.0                                ...           4 years ago
  • 2.4.3                                ...           4 years ago
  • 2.4.2                                ...           4 years ago
  • 2.4.1                                ...           4 years ago
  • 2.4.0                                ...           4 years ago
  • 2.3.0                                ...           4 years ago
  • 2.2.0                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 20
Dependencies (34)
Dev Dependencies (26)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |