Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions about funding wallet #54

Merged
merged 2 commits into from
Jul 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,31 @@ organization concept for module/file names:

## Build and usage

### Local
### Dependencies

To compile the node, please install [cargo](https://doc.rust-lang.org/cargo/)

```bash
sudo apt install -y build-essential
cargo install --path . --locked --all-features
```

### Generate funding wallet (First Time)

Before running the node, it is necessary to set an _xpriv_ to create a funding wallet:

```bash
lnpd -vvv init

# The prompt shows something like this:
Initializing node data
Data directory '/[DATA_DIR]/.lnp_node/signet' ... found
Signing account 'master.key' ... creating
Please enter your master xpriv:

```

### Running Local

To compile the node, please install [cargo](https://doc.rust-lang.org/cargo/),
then run the following commands:
Expand All @@ -175,7 +199,7 @@ cargo install --path . --locked --all-features
lnpd -vvv
```

### In docker
### Running in docker

```bash
docker build -t lnp-node .
Expand Down