Skip to content

LN-Zap/zap-nodejs

Repository files navigation

DEPRECATED - See Zap instead


This is an old version of zap-nodejs. This code is not used anymore, it has been replaced with ipcRenderer in zap-desktop


Zap Node.js

Node.js proxy for LND (will be moved to Electron ipcRenderer under zap-desktop)

Join us on slack to discuss development, design and product

Install


At this point you should have BTCD and LND installed and running. Once you do you will need to generate your own NodeJS compatible certs:

# this is the path for Linux machines. Differs for Mac and Windows
cd ~/.lnd

openssl ecparam -genkey -name prime256v1 -out tls.key
openssl req -new -sha256 -key tls.key -out csr.csr -subj '/CN=localhost/O=lnd'
openssl req -x509 -sha256 -days 3650 -key tls.key -in csr.csr -out tls.cert
rm csr.csr
git clone https://github.com/LN-Zap/zap-nodejs.git
cd zap-nodejs
npm install
npm run dev

Tests


npm run test

Releases

No releases published

Packages

No packages published