Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
vol4tim committed Oct 17, 2018
0 parents commit f8e7734
Show file tree
Hide file tree
Showing 20 changed files with 14,840 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["es2015", "stage-2"],
"plugins": []
}
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[*]
indent_style = space
end_of_line = lf
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true

[*.md]
max_line_length = 0
trim_trailing_whitespace = false
25 changes: 25 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"extends": "eslint:recommended",
"parser": "babel-eslint",
"rules": {
"import/prefer-default-export": 0,
"import/no-named-as-default-member": 0,
"no-console": 0,
"semi": 0,
"comma-dangle": 0,
"prefer-template": 0,
"linebreak-style": 0,
"no-restricted-properties": 0
},
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"classes": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"node": true,
"es6": true
}
}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.idea
node_modules
npm-debug.log*
.vscode
dist
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# XRT provider

## Install

``` bash
npm i -g xrtd-js
```

## Config

``` json
{
"ipfs": { "host": "localhost", "port": "5001", "protocol": "http" },
"web3": "http://localhost:8545",
"robonomics": {
"account": "0x.................", OR "privateKey": "0x.................",
"lighthouse": "airalab.lighthouse.1.robonomics.eth",
"version": 1,
"model": null
},
"isProvider": true,
"isMiner": false
}
```

## Use

``` bash
xrtd-js -c my-config.json
```
Loading

0 comments on commit f8e7734

Please sign in to comment.