Skip to content

Commit

Permalink
README updated
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyber committed Mar 24, 2018
1 parent 372e9c0 commit ef696ab
Showing 1 changed file with 2 additions and 68 deletions.
70 changes: 2 additions & 68 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,77 +89,11 @@ pip3 install -U qrl --log ~/pip3-Qrl.log

* * *

## Wallet

Create a new wallet using the `qrl` command. After you create a wallet you can create a new `slaves.json` file and use it to mine with.

### Create New Wallet

```bash
# Create a new wallet
qrl wallet_gen
```
### Get Mnemonic/hexseed

```bash
# Get mnemonic phrase and hexseed
qrl wallet_secret
```
### Recover QRL Wallet

```bash
# Options:
# --seed-type [hexseed|mnemonic]
# --help Show this message and exit.

qrl wallet_recover --seed-type mnemonic
```

### Generate a slaves.json file

Using the wallet you just created generate the slaves.json file against a know working node. You can switch the ip-address with a trusted open node.

```
# QRL Nodes
104.237.3.185
104.237.3.184
104.251.219.145
104.251.219.40
```

```bash
# Generate slaves.json file
qrl -r --host 104.237.3.185 slave_tx_generate
```
This will prompt with some questions:

```bash
Src []: # The wallet you generated by #ID
Addr from []: # (Leave blank in case same as source)
Number of slaves [0]: # Enter 4
Access type [0]: # Mining only or transfer coins [0],[1]
# 0 Gives all permissions from the master wallet to slave wallet
# 1 Only mining permissions to slave wallet
# This setting allows incoming only transfers (SAFE)
Fee [0.0]: 0 # How much fee
```

This will generate a `slaves.json` in the directory you are in.

If you have saved the **Mnemonic** or **hexseed** somewhere safe you can delete the open `wallet.qrl` file and use the `slaves.json` file to mine with.

Move this fie into your `~/.qrl` directory. If needed, create the directory.

* * *

## Start QRL Node

Now that we have a `slaves.json` file in our ~/.qrl folder we can start qrl.

```bash
# start qrl
start_qrl
start_qrl --miningCreditWallet=YOUR_QRL_ADDRESS
```

Check out all the options with a simple `start_qrl --help`
Expand All @@ -168,7 +102,7 @@ Using `screen` you can run in the background and reconnect later. You may need t

```bash
# run in background
screen -d -m start_qrl
screen -d -m start_qrl --miningCreditWallet=YOUR_QRL_ADDRESS
```
You can see the progress in the `~/.qrl/qrl.log` file.

Expand Down

0 comments on commit ef696ab

Please sign in to comment.