Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Changed sjcx to STORJ
Browse files Browse the repository at this point in the history
  • Loading branch information
aleitner committed Jun 19, 2017
1 parent 1da8b57 commit 5a51326
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ use or inclusion in other packages.

## Installation of Pre-built Binaries

Storj Share Daemon is available as a snap package in the store, installable on
[supported](https://snapcraft.io/docs/core/install) systems. These packages are
Storj Share Daemon is available as a snap package in the store, installable on
[supported](https://snapcraft.io/docs/core/install) systems. These packages are
securely confined and automatically updated.

### Latest Stable Release
Expand Down Expand Up @@ -139,7 +139,7 @@ storjshare help create
Options:
-h, --help output usage information
--sjcx <addr> specify the sjcx address (required)
--storj <addr> specify the STORJ address (required)
--key <privkey> specify the private key
--storage <path> specify the storage path
--size <maxsize> specify share size (ex: 10GB, 1TB)
Expand Down Expand Up @@ -302,7 +302,7 @@ Now that you have Storj Share installed, use the `create` command to generate
your configuration.

```
storjshare create --key 4154e8... --sjcx 1K1rPg... --storage <datadir> -o <writepath>
storjshare create --key 4154e8... --storj 1K1rPg... --storage <datadir> -o <writepath>
```

This will generate your configuration file given the parameters you passed in,
Expand Down
6 changes: 3 additions & 3 deletions bin/storjshare-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function vimIsInstalled() {

storjshare_create
.description('generates a new share configuration')
.option('--sjcx <addr>', 'specify the sjcx address (required)')
.option('--storj <addr>', 'specify the STORJ address (required)')
.option('--key <privkey>', 'specify the private key')
.option('--storage <path>', 'specify the storage path')
.option('--size <maxsize>', 'specify share size (ex: 10GB, 1TB)')
Expand All @@ -44,7 +44,7 @@ storjshare_create
.option('-o, --outfile <writepath>', 'write config to path')
.parse(process.argv);

if (!storjshare_create.sjcx) {
if (!storjshare_create.storj) {
console.error('\n no payment address was given, try --help');
process.exit(1);
}
Expand Down Expand Up @@ -110,7 +110,7 @@ function replaceDefaultConfigValue(prop, value) {
);
}

replaceDefaultConfigValue('paymentAddress', storjshare_create.sjcx);
replaceDefaultConfigValue('paymentAddress', storjshare_create.storj);
replaceDefaultConfigValue('networkPrivateKey', storjshare_create.key);
replaceDefaultConfigValue('storagePath',
path.normalize(storjshare_create.storage));
Expand Down
2 changes: 1 addition & 1 deletion example/farmer.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
// Set the SJCX/BTC address for receiving contract payments
// Set the STORJ/BTC address for receiving contract payments
"paymentAddress": "",
// Subscribes to the given contract topics
// See https://storj.github.io/core/tutorial-contract-topics.html
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "storjshare-daemon",
"version": "3.2.0",
"version": "3.2.1",
"description": "daemon + process manager for sharing space on the storj network",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit 5a51326

Please sign in to comment.