Coder Social home page Coder Social logo

lnbits / bitcoinswitch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arcbtc/bitcoinswitch

73.0 73.0 21.0 28.22 MB

Turn things on with bitcoin!

Home Page: https://bitcoinswitch.lnbits.com/

License: GNU General Public License v3.0

Shell 0.77% JavaScript 0.22% C++ 95.83% C 1.06% CMake 1.16% Makefile 0.05% Python 0.81% HTML 0.09%

bitcoinswitch's Introduction

phase: beta license-badge docs-badge PRs: welcome Lightning network wallet

The world's most powerful suite of bitcoin tools.

Run for yourself, for others, or as part of a stack.

LNbits is beta, for responsible disclosure of any concerns please contact an admin in the community chat.

LNbits is a Python server that sits on top of any funding source. It can be used as:

  • Accounts system to mitigate the risk of exposing applications to your full balance via unique API keys for each wallet
  • Extendable platform for exploring Lightning network functionality via the LNbits extension framework
  • Part of a development stack via LNbits API
  • Fallback wallet for the LNURL scheme
  • Instant wallet for LN demonstrations

LNbits can run on top of almost all Lightning funding sources.

See LNbits manual for more detailed documentation about each funding source.

Checkout the LNbits YouTube video series.

LNbits is inspired by all the great work of opennode.com, and in particular lnpay.co. Both work as funding sources for LNbits.

Running LNbits

Test on our demo server demo.lnbits.com, or on lnbits.com software as a service, where you can spin up an LNbits instance for 21sats per hr.

See the install guide for details on installation and setup.

LNbits account system

LNbits is packaged with tools to help manage funds, such as a table of transactions, line chart of spending, export to csv. Each wallet also comes with its own API keys, to help partition the exposure of your funding source.

LNbits extension universe

Extend YOUR LNbits to meet YOUR needs.

All non-core features are installed as extensions, reducing your code base and making your LNbits unique to you. Extend your LNbits install in any direction, and even create and share your own extensions.

LNbits API

LNbits has a powerful API, many projects use LNbits to do the heavy lifting for their bitcoin/lightning services.

LNbits node manager

LNbits comes packaged with a light node management UI, to make running your node that much easier.

LNbits across all your devices

As well as working great in a browser, LNbits has native IoS and Android apps as well as a chrome extension. So you can enjoy the same UI across ALL your devices.

Tip us

If you like this project send some tip love!

bitcoinswitch's People

Contributors

alanbits avatar arbadacarbayk avatar arcbtc avatar axelhamburch avatar blackcoffeexbt avatar bufo24 avatar danielcharrua avatar dni avatar motorina0 avatar pieterjm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bitcoinswitch's Issues

Not compatible with platformio

The current version of bitcoinSwitch is not compatible with PlatformIO. It would be good to add compatibility to resolve the ever recurring library dependency issues and potentially add support for other boards.

I created a pull request that adds platformio compatibility: #16

Extracting deviceid from URL does not check for seperator

The deviceis and WebSocket host are extracted from the WebSocket URL by means of a substring and a fixed number of characters without checking for a seperator. When a deviceId has another length, this immediatly breaks creating the WebSocket connection.

Best way to resolve this is to verify the existence of the seperator and then do a substring using that data.

Bug: Multiple switch pins cannot be switched on at the same time.

Initial situation: Multiple switch pins are configured.

As soon as a switch pin, e.g. (pin 12) is switched for 15 min, payments for other switch pins, e.g. pin 17, are accepted but not switched.

It would be desirable if during the switch-on time of a pin, further pins were also switched as expected after payment.

Thank you very much.

No bS function: "invoice listener:114 | got a payment notification" missing

I have noticed that my bitcoinSwitch (bS) stops working when my LNbits (VPS) loses connection to my node (Raspiblitz/LND at home) for a short period of time. If I unplug the network connector for about 2 minutes, then reconnect and wait another 5 minutes for everything to sync again, LNbits receives the payment properly, but unlike a normal function, the bitcoinSwitch does not switch. In the logs files the "invoice listener:114 | got a payment notification" is also missing. Only a restart of the LNbits server solves the problem.

I am using LNbits 0.10.3 and just updated to the latest commit a9bdf2442589f61cc6c5db2d18eff54eb186c1ea.

Zwischenablage02

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.