Skip to content

Commit

Permalink
restructure readme
Browse files Browse the repository at this point in the history
  • Loading branch information
keypair committed Jan 5, 2017
1 parent ddae6bf commit 8c21171
Showing 1 changed file with 23 additions and 16 deletions.
39 changes: 23 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,6 @@ sh start.sh
```

### Commands
#### Create an account
[Make an account](docs/new_account.md)

#### Spend
```
easy:spend(To, Amount)
```
To is the recipient's account ID

#### Find out your account ID
```
keys:id().
```
If it returns something less than 1, that means you don't have an account yet.

If you just want to start mining, skip this step, sync with the network and use the 'start mining' command below.

#### Sync with the network
To sync with the network and download the blockchain:
Expand All @@ -39,6 +23,8 @@ easy:sync()
```

#### Mining
After fresh install, one can start mining.

To start mining with all CPU cores:
```
mine:start().
Expand All @@ -52,6 +38,27 @@ to check if you are currently mining:
mine:is_on().
```

#### Spend
```
easy:spend(To, Amount)
```
To is the recipient's account ID

#### Last transactions
```
tx_pool:data().
```

#### Find out your account ID
```
keys:id().
```
If it returns something less than 1, that means you don't have an account yet.

#### Create an account
(does get done automatically when no accocunt and mining starts)
[Make an account](docs/new_account.md)

#### Check your balance
```
easy:balance().
Expand Down

0 comments on commit 8c21171

Please sign in to comment.