Skip to content

Latest commit

 

History

History
79 lines (66 loc) · 3.81 KB

README.md

File metadata and controls

79 lines (66 loc) · 3.81 KB

Decentralized Internet

npm FOSSA Status | Crates.io | Discord | Gitter | Read the Docs

The NPM library is a collection of the following repos made for the purpose of building decentralized web projects:

lotion | bitcoin-peg | clusterpost | gridbee-framework | Reinvent-the-Internet

Also special thanks to: The Lonero Dev Team

  • May need some updates in Seed Migration for some of the org repos

Papers worth checking out: Lonero Whitepaper (Original) | CrowdCoin Scientific Whitepaper

This NPM library/package is being mantained by the folks here

Lotion Sample (State Machines):

  • From original Lotion repo (shown on installation page for demo purposes)
// app.js
let lotion = require('lotion')
let app = lotion({
	initialState: {
		count: 0
	}
})
function transactionHandler(state, transaction) {
	if (state.count === transaction.nonce) {
		state.count++
	}
}
let connect = require('lotion-connect')
app.use(transactionHandler)
app.start().then(appInfo => console.log(appInfo.GCI))

ccxml Device Connection Sample Code:

  • xml taken from TI's IDE in device config for driver
<connection XML_version="1.2" id="TI MSP430 USB1">

Installation Methods

Install via NPM: npm i decentralized-internet
Install via YARN: yarn add decentralized-internet
Install via APM: apm install decentralized-internet
Ember Installation: ember install decentralized-internet
Install via VS Code: ext install Lonero.decentralized-internet
Install via SNAP: sudo snap install decentralized-internet --edge
Install via Docker: docker pull gamer456148/decentralized-internet

Arch Linux Installation Instructions:
git clone https://aur.archlinux.org/snapd.git
cd snapd
makepkg -si
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install decentralized-internet --edge
Install via Dart:

Add to your pubspec.yaml file:

dependencies:
  decentralized_internet: ^3.4.1

Run: pub get

App to add GitHub metrics tracking to select repos here
See original compatibility status update here

***** See NPM v.Updates

Latest Git Release Package here

License

FOSSA Status