All Projects → DiscreetAI → Decentralized Ml Infra

DiscreetAI / Decentralized Ml Infra

Blockchain infrastructure for decentralized machine learning (decentralized-ml repo).

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Decentralized Ml Infra

Pocket Core
Official implementation of the Pocket Network Protocol
Stars: ✭ 50 (+117.39%)
Mutual labels:  blockchain, infrastructure
Bottos
public blockchain
Stars: ✭ 80 (+247.83%)
Mutual labels:  blockchain, infrastructure
Magiccube
Bottos Blockchain Service Layer, Decentralized App Platform
Stars: ✭ 104 (+352.17%)
Mutual labels:  blockchain, infrastructure
Chef
Chef Infra, a powerful automation platform that transforms infrastructure into code automating how infrastructure is configured, deployed and managed across any environment, at any scale
Stars: ✭ 6,766 (+29317.39%)
Mutual labels:  infrastructure
Fabric Multi Network
Stars: ✭ 16 (-30.43%)
Mutual labels:  blockchain
Emerald Vault Archive
ARCHIVE. CODE MOVED TO:
Stars: ✭ 18 (-21.74%)
Mutual labels:  blockchain
Bitgosdk Php
BitGo SDK written in PHP
Stars: ✭ 22 (-4.35%)
Mutual labels:  blockchain
Vigil
🚦 Microservices Status Page. Monitors a distributed infrastructure and sends alerts (Slack, SMS, etc.).
Stars: ✭ 804 (+3395.65%)
Mutual labels:  infrastructure
Blockchain
블록체인 공부 중입니다.
Stars: ✭ 22 (-4.35%)
Mutual labels:  blockchain
Snax
Decentralized Social Media Overlay
Stars: ✭ 18 (-21.74%)
Mutual labels:  blockchain
Abci Host
Clojure host/server for Tendermint's ABCI protocol.
Stars: ✭ 18 (-21.74%)
Mutual labels:  blockchain
Graph Node
Graph Node indexes data from blockchains such as Ethereum and serves it over GraphQL
Stars: ✭ 884 (+3743.48%)
Mutual labels:  blockchain
Ripple Lib
A JavaScript API for interacting with the XRP Ledger in Node.js and the browser
Stars: ✭ 899 (+3808.7%)
Mutual labels:  blockchain
Diesel
A safe, extensible ORM and Query Builder for Rust
Stars: ✭ 7,702 (+33386.96%)
Mutual labels:  blockchain
Wavevote
Voting system based on Ethereum
Stars: ✭ 22 (-4.35%)
Mutual labels:  blockchain
Oyente
An Analysis Tool for Smart Contracts
Stars: ✭ 820 (+3465.22%)
Mutual labels:  blockchain
Balance Transfer Go
A sample go app to demonstrate fabric-client & fabric-ca-client go SDK APIs
Stars: ✭ 19 (-17.39%)
Mutual labels:  blockchain
Eclair
A scala implementation of the Lightning Network.
Stars: ✭ 892 (+3778.26%)
Mutual labels:  blockchain
Blockchain Reading List
Blockchain Manchester Meetups, Talks and Reading List
Stars: ✭ 17 (-26.09%)
Mutual labels:  blockchain
Neb.android
An Android SDK of Nebulas payment
Stars: ✭ 18 (-21.74%)
Mutual labels:  blockchain

dAgora Chain

Build Status To spin up a validator node (using lotion) run:

node app.js

For a multiple remote nodes, run a validator and note its public IP address. Then run a peer client on a different node:

node app.js --host <HOST>
node app-peer.js --host <HOST>

(HOST defaults to localhost if not specified)

Scripts

To use a fresh chain, run npm run devMode beforehand.

The following command launches a lightweight client, sending a single value.

node scripts/cli-peer.js --host=<HOST> --port=<PORT> --data={ key: 'value', ... }

API Information

Access endpoints through HTTP. These are the HTTP endpoints (when the tx-server is running):

GET: http://localhost:<PORT>/state
POST: http://localhost:<PORT>/txs

Can be reached via Python's requests HTTP library:

>>> import json
>>> import requests

# GET Example
>>> r = requests.get("http://localhost:3000/state")
>>> json.loads(r.text)
{'MESSAGES': []}

# POST Example
>>> r = requests.post("http://127.0.0.1:3000/txs", json={'hello':'bye'})
>>> json.loads(r.text)
{'result': {'check_tx': {}, 'deliver_tx': {}, 'hash': '8FDBE289D77F3D918D7B49ED5315BA70F9FD6C95', 'height': '4556'}}

Be sure to follw the correct data format when posting. Data (transaction) format:

{
  KEY: ... ,
  CONTENT: ...
}

The relevant ABCI RPC endpoints are, though you shouldn't have to use them:

GET: http://<HOST>:<PORT>/abci_query
POST: http://<HOST>:<PORT>/broadcast_tx_commit?tx=<RAW_TX_HEX>

TODO

  • Update to latest Lotionjs version
  • Use commander with cli-peer.js
  • Allow for multiple peers to be specified for app.js
  • Validator autogen, selection, autoadd to genesis.json
  • ✅ Additional tests for HTTP server
  • ✅ Travis CI
  • Autogen peer discovery
  • Better structure for multi-node testing
  • Use proper axios HTTP POST encoding in tx-server.js
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].