• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

lightning-power-users/node-launcher: Easiest Bitcoin Lightning desktop app, for ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

lightning-power-users/node-launcher

开源软件地址(OpenSource Url):

https://github.com/lightning-power-users/node-launcher

开源编程语言(OpenSource Language):

Python 100.0%

开源软件介绍(OpenSource Introduction):

User Guides

  1. Please start here!
  2. Send a payment with the Joule Chrome extension

Requirements

  1. ~300 GB of download bandwidth
  2. ~10 GB of disk space (~300 GB if you want the Bitcoin transaction index, makes for a faster LND)
  3. Windows 7+ or macOS > 10.14.6 (Mojave, released in 2018)

Linux works but it is not packaged, follow the developer steps below to run it from the Linux command line.

Please submit a pull request if you want to add Linux packaging! A .deb and .rpm would help grow the Lightning network...

Install

Download and open the latest release for your operating system: https://github.com/PierreRochard/node-launcher/releases

Node Launcher

  1. Creates a node launcher data directory
    • macOS: ~/Library/Application Support/Node Launcher/
    • Windows: %localappdata%/Node\ Launcher/
  2. Finds available ports for Bitcoin and LND, testnet and mainnet
  3. When launched, Bitcoin nodes use the datadir directory specified in bitcoin.conf (or the default data directory)
  4. If you don't have >300 GB of disk space free, Bitcoin nodes will fall back to pruned
  5. Pruning still requires downloading data, so make sure you can handle downloading ~300 GB of data

macos

windows

Development

Review the contributing.md file https://github.com/PierreRochard/node-launcher/blob/master/contributing.md

Install Python3.7+

macOS: brew install python3 dbus dbus-glib

Linux: sudo apt install python3.7-venv libdbus-glib-1-dev python3.7-dev

For Windows see https://medium.com/@pierre_rochard/node-launcher-developer-setup-on-windows-5ba6e0fbb38a

For macOS and Linux:

  1. git clone https://github.com/PierreRochard/node-launcher
  2. cd node-launcher
  3. python3.7 -m venv venv
  4. . venv/bin/activate
  5. pip3.7 install -r requirements.txt
  6. python setup.py develop
  7. python run.py

Testing

pytest tests

To include tests with network calls to GitHub: pytest tests --run_slow

Packaging

macOS: pyinstaller run-mac.spec

Windows: pyinstaller run-windows.spec (pyinstaller packaging only works on Windows 7)

Generate LND Bindings

https://github.com/lightningnetwork/lnd/blob/master/docs/grpc/python.md




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap