Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3784 from escapedcat/chore/nvm-support
Browse files Browse the repository at this point in the history
chore: add nvm support
  • Loading branch information
mrfelton committed Jan 12, 2022
2 parents bedd8d7 + 6f2201d commit d03d7bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .nvmrc
@@ -0,0 +1 @@
12
11 changes: 6 additions & 5 deletions docs/ADVANCED.md
Expand Up @@ -15,7 +15,8 @@
To compile the Zap wallet, you will need:

- **[Node.js version >= 12](https://nodejs.org)** and **[npm version >= 5](https://www.npmjs.com)**
- **[yarn](https://yarnpkg.com/lang/en/docs/install/)**
- **[yarn](https://classic.yarnpkg.com/en/docs/install)**
- [nvm](https://github.com/nvm-sh/nvm#intro) is suppported but not required

### Downloading Zap

Expand Down Expand Up @@ -48,18 +49,18 @@ To connect to `lnd` using `lncli` you must have Zap open and logged into your wa

The lnd data directory will be located within:

- `%APPDATA%\Zap` on Windows
- `$XDG_CONFIG_HOME/Zap` or `~/.config/Zap` on Linux
- `~/Library/Application Support/Zap` on macOS
- `%APPDATA%\Zap` on Windows
- `$XDG_CONFIG_HOME/Zap` or `~/.config/Zap` on Linux
- `~/Library/Application Support/Zap` on macOS

For example, on a Mac:

```sh
lncli --rpcserver=localhost:11009 --lnddir=~/Library/Application\ Support/Zap/lnd/bitcoin/mainnet/wallet-2 getinfo
```

See `lncli --help` for help with lncli.


### Option 2: custom:

To setup your own `lnd` for use with Zap please follow the instructions on the [lnd installation](https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md) page. Select the `custom` connection type during the on-boarding process to use your own `lnd` with Zap.
Expand Down

0 comments on commit d03d7bc

Please sign in to comment.