MIT License

项目介绍

jamaljsr/polar 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 MIT License 许可证,目前获得 861 个 Star、177 次 Fork。

仓库全名
jamaljsr/polar
开源许可证
MIT License
Star 数
861
Fork 数
177
未关闭 Issue
42

README 摘要

Polar One-click Bitcoin Lightning networks for local app development & testing View a short video demo Purpose Polar was built to help Lightning Network application developers quickly spin up one or more networks locally on their computers. With Polar you can: Create a regtest Lightning Network in just a few clicks Connect from your app to the lightning nodes via RPC Add more nodes using drag & drop Start and stop…

完整内容见 GitHub 原始 README 或本页 。

常见问题

polar 用什么语言开发?

主要使用 TypeScript 编写,采用 MIT License 许可证,目前有 861 个 Star。

polar 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 polar 的源码?

可以直接克隆仓库:git clone https://github.com/jamaljsr/polar.git,默认分支为 master;安装与运行步骤见仓库 README。

polar 最近还在维护吗?

仓库最近一次更新为 5 天前,当前有 42 个未关闭 Issue;Star 数为 861,可作为社区活跃度的参考。

关于

One-click Bitcoin Lightning networks for local app development & testing

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
1226
价值分
568
活跃状态
活跃

语言占比

Dockerfile
HTML
JavaScript
Less
Shell
TypeScript

Release

README

Polar

One-click Bitcoin Lightning networks for local app development & testing

Actions Status codecov Crowdin GitHub license GitHub release

View a short video demo

Purpose

Polar was built to help Lightning Network application developers quickly spin up one or more networks locally on their computers.

With Polar you can:

  • Create a regtest Lightning Network in just a few clicks
  • Connect from your app to the lightning nodes via RPC
  • Add more nodes using drag & drop
  • Start and stop individual nodes
  • Open & Close Channels
  • Create & Pay Lightning Invoices
  • Launch a terminal in each bitcoin/lightning node
  • View streaming logs from each node
  • Manually mine new blocks
  • Deposit regtest coins into each Lightning node
  • Mint, Send & Receive Taproot Assets
  • Create & Pay Taproot Asset invoices
  • Export and import networks, for sharing with other Lightning developers
  • Create you own docker images to use as custom nodes (ex: master branch, local fork)

Supported Network Node Versions:

  • LND - v0.20.0, v0.19.3, v0.19.2, v0.19.1, v0.18.5, v0.18.4, v0.18.3, v0.17.5, v0.16.4
  • Core Lightning - v25.12, v25.09.3, v25.05, v25.02, v24.11.1, v24.08.1
  • Eclair - v0.13.1, v0.12.0, v0.11.0, v0.10.0, v0.9.0
  • Bitcoin Core - v30.0, v29.0, v28.0, v27.0, v26.0
  • Taproot Assets - v0.7.0, v0.6.1, v0.6.0, v0.5.1, v0.5.0, v0.4.1, v0.3.3
  • Terminal - v0.16.0, v0.15.3, v0.15.1, v0.15.0, v0.14.1,

MCP (Model Context Protocol)

Polar includes an MCP server that enables AI agents like Claude & Cursor to programmatically control Lightning Network simulations.

See the polar-mcp repo for installation instructions.

See the MCP Architecture Documentation for technical information on the architecture, API, and how to add new tools to Polar.

Dependencies

Polar requires that you have Docker installed to create the local networks

You will be prompted to install Docker if Polar cannot detect it automatically

⚠️ Important Docker Notes

  • On Linux, Docker Desktop is currently not supported due to a significant change in how it handles file sharing between host and container (See #636)

Download

Download Polar v4.0.0 for your OS

Alternative and older version binaries can be found in the GitHub releases

Help Translate

Polar’s translations are managed on Crowdin. The initial translations of 10 languages were done by machine (Google Translate) and are likely to not be 100% accurate. If you speak multiple languages and wish to help with translations, please feel free to head over to the project page on Crowdin and submit updated strings. This assistance would be greatly appreciated.

Development

If you would like to learn how to package Polar from source code or want to fix a bug or add a new feature, please see CONTRIBUTING for detailed instructions.

Commands

Command Description
yarn install dependencies
yarn dev run the app with react hot reloading and electron live restarting
yarn test run unit tests in watch mode
yarn test:e2e run e2e tests
yarn lint:all run typescript and eslint syntax checking
yarn package package the app for your OS

Tech Stack

评论

暂无评论