Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
unao Merge pull request #20 from gonetwork-project/ts++
proper target when requesting secret
Latest commit 750391f Oct 1, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
config monitoring: improve typing, seed of test, config changes (WIP) May 14, 2018
test-manual typescript upgrade: fix imports/exports in source and tests May 30, 2018
test output throughput to console on every message Jun 9, 2018
.gitignore Updated docs url. Jun 8, 2018
package-lock.json remove unsued qrcode deps + add sjcl types Jun 7, 2018
package.json bump version + fix .d.ts Jun 7, 2018
tsconfig.json upgrade message.js to typescript with least amount of work May 29, 2018

Gonetwork Framework

Consolidated framework with state channel engine, blockchain service, and transport layer implementation.

GoNetwork Documentations [WIP] :

Quick Start

npm install

Run Direct Transfer Test over Mqtt:

cd ./test/throughput

open 2 terminals. Each node will connect to a publicly available mqtt client.

in terminal 1 run:

node client2.js

in terminal 2 run:

node client1.js

Run Mediated Transfer Test over Mqtt:

see above for setup

in terminal 1 run:

node client2_mediated.js

in terminal 2 run:

node client1_mediated.js

GoNetwork Blockchain Service

The BlockChain service is written as a standalone library that provides full offchain support for transactions and geth calls. The service is written as a lightweight library for use in various projects. We implement a subset of and include wrappers around the smart-contracts in use for state-channel implementation. All signing is handled by the library and generates the appropriate rpc payloads that can be sent to any geth node you'd like. There is minimal trust in the geth node servicing you request beyond the fact that it will distribute your message as your privateKey and signing is handled in the application context running the library.

When making eth_call functions however, you need to be more weary (in general) of the communication endpoint as results can be easily spoofed.

This library will work well in conjunction with standard Geth HTTP Gateway Providers/Apis; Infura, EtherScan, etc.

You can’t perform that action at this time.