Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmith123 committed Jun 28, 2024
1 parent 4df71da commit 4ba2f80
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,18 @@ Get an API key.

```
nodana init
-y (auto accept Nodana's terms and conditions)
```

After calling `nodana init`, the CLI will save your API key in a local file. The key will automatically be included in future requests.

### Create Invoice

Create a Lightning invoice to top up the credit on your API key.
Create a Lightning invoice to top up the credit on your API key. Each sat equals 2.5 minutes of run time.

```
nodana create invoice
-v <value> (Amount in sats, min: 1k, max: 1m)
-v <value> (Required, amount in sats, min: 1k, max: 1m)
```

### Create Node
Expand All @@ -45,9 +44,9 @@ Create and start a node.

```
nodana create node
-n <name>
-a <autoLiquidity>
-w <webhook>
-n <name> (optional)
-a <autoLiquidity> (optional, default "2m")
-w <webhook> (optional)
```

### Start
Expand Down

0 comments on commit 4ba2f80

Please sign in to comment.