Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyofbyteball committed Aug 14, 2016
0 parents commit dd7ffce
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[*]
charset = utf-8
end_of_line = lf
indent_style = tab
indent_size = 4
38 changes: 38 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Dependency directory
# Commenting this out is preferred by some people, see
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
node_modules

# OSX

.DS_Store
.AppleDouble
.LSOverride


# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# VIM ignore

[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~

36 changes: 36 additions & 0 deletions conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*jslint node: true */
"use strict";

//exports.port = 6611;
//exports.myUrl = 'wss://mydomain.com/bb';
exports.bServeAsHub = true;
exports.bLight = false;

// this is used by wallet vendor only, to redirect bug reports to developers' email
exports.bug_sink_email = 'admin@example.org';
exports.bugs_from_email = 'bugs@example.org';


exports.storage = 'sqlite';


exports.initial_witnesses = [
"I4Z7KFNIYTPHPJ5CA5OFC273JQFSZPOX",
"IKSAOGAJOMQ3DBWEJ3RLGQH3CZJRWIMD",
"MIUV2XGJWIFGRXJR63U4YXHCHNPAWIZ3",
"MO7ZZIU5VXHRZGGHVSZWLWL64IEND5K2",
"O5DGBG7G7E4DTTT6UQN3NAN5EJSEZ5SP",
"OVOBPP6OBCFKOHO64WM3VTULS7SCFCU2",
"T2J7GTIC5N4BTNT7CRN5QD2OK4CZOQHF",
"VDPIDXY7QZ7CEICV3KSN3BZSRI4JXCPB",
"VM7PQNEBINI3JDWSI4ECOFBYR7OCV4K4",
"WHKHIP3S3P25MWWGXXNHF6UCZCCVVACY",
"Z6GRORIFI4NTB6ANZAOSXVZGGGQCOSWW",
"ZX3BFE6PA5INOAHLTFWQVB7KIKTXYDAY"
];

exports.initial_peers = [
'wss://byteball.org/bb'
];

console.log('finished hub conf');
28 changes: 28 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "byteball-hub",
"description": "Byteball Hub",
"author": "Byteball",
"version": "0.1.0",
"main": "start.js",
"keywords": [
"hub",
"byteball",
"messaging",
"chat"
],
"license": "MIT",
"repository": {
"url": "git://github.com/byteball/byteball-hub.git",
"type": "git"
},
"bugs": {
"url": "https://github.com/byteball/byteball-hub/issues"
},
"browser": {
"request": "browser-request",
"secp256k1": "secp256k1/js"
},
"dependencies": {
"byteball-relay": "^0.1.0"
}
}
3 changes: 3 additions & 0 deletions start.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/*jslint node: true */
"use strict";
require('byteball-relay');

0 comments on commit dd7ffce

Please sign in to comment.