Code Monkey home page Code Monkey logo

raspiblitz-web's Introduction

RaspiBlitz

Build your own Bitcoin & Lightning Fullnode on a RaspberryPi with an optional Display.

RaspiBlitz

The RaspiBlitz is a do-it-yourself Bitcoin & Lightning Fullnode running on a RaspberryPi 4&5 with a nice display for easy setup & monitoring.

RaspiBlitz is mainly targeted for learning how to run your own node decentralized from home - because: Not your Node, Not your Rules. Discover & develop the open-source ecosystem of Bitcoin by becoming a full part of it.

Links to Quickstart your RaspiBlitz journey:

Additional Resources:

Developer Notes:

This is main RaspiBlitz repo containing the bash & python scripts to build the RaspiBlitz software. It it complimented by the following side repos:

To get started with RaspiBlitz Development check the Community Development notes.

raspiblitz-web's People

Contributors

aarondewes avatar beeffectiveinnovator avatar bitcoinheiro avatar bitpaint avatar bitromno avatar blabios avatar blackcoffeexbt avatar bsn21m avatar comradekingu avatar cstenglein avatar depfu[bot] avatar escapedcat avatar exxo-hub avatar foxikk avatar giovannizotta avatar jesterhodl avatar karozagorus avatar lingo21m avatar louber1 avatar marcarmengou avatar mbombonato avatar minestackrepeat avatar mosmat avatar openoms avatar rootzoll avatar santossi avatar softsimon avatar we-do-it-lu avatar weblate avatar yoni-fireblocks 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

Watchers

 avatar  avatar  avatar  avatar  avatar

raspiblitz-web's Issues

Handle locked wallet

If you don't have auto-unlock enabled on your RaspiBlitz, then the Lightning Wallet will be locked. There needs to be a functionality to detect if the wallet is locked and then it should be unlockable over the UI.

The tasks are the following:

  • Wait until the tasks below are done:
  • think about where to place the message that the wallet is unlocked / how it should look
  • code the display functionality
  • think about how to design the unlock wallet functionality
  • extend backend-mock to simulate locked wallet as well
  • code the unlock wallet functionality & test it :)

Give feedback on SSE connection loss

Looks like if the SSE connection is closed, the browser tries to reconnect again.

Check how the reconnection works (has it a timeout etc.) and if the connection was lost, provide some information for the user, so he knows that it happened.

This would ideally be done with a Toaster, which we already use on successful transactions.

Show unconfirmed / confirmed balanced in home screen

Currently the WalletCard just displays the confirmed balance.
image

I should also show the unconfirmed balance.
The best option (in my opinion) would be to remove outflows (i.e. sending to someone) from the balance immediately and show inflows as a extra number in braces
e.g.
1,000,000 sat (+20,000)

Makeover Applist / install apps

The list of available apps is provided by the Frontend now, only the installed / installing state comes from the backend.

Apps (see here for list):

For the first version, we are only providing apps which have a front-end so users are not confused.

  • RTL
  • Specter Desktop
  • BTCPay Server
  • LNbits Server
  • BTC RPC Explorer
  • Mempool Space
  • ThunderHub

They all need:

  • Images (if available)
  • A description
  • The installed version number
  • The author(s)
  • A link to the source code
  • A link to the documentation

Look into audit functionality

  • does it make sense to use stuff like npm audit?
  • how to handle "vulnerabilities" in devDependencies see create-react-app pinned issue

Add mempool logo to apps

The Mempool Trademark policy allows app stores, so we can add the logo as well.

The logo should be placed in assets/apps and then tested if it displays correctly under "Apps".

The name of the file should be the same as the id (here)[https://github.com/cstenglein/raspiblitz-web/blob/master/backend-mock/apps.js#L74] so it loads correctly.

Think about formatting of numbers

Currently I use "toLocaleString()" to format the number.

But this leads the balance to only show 3 decimals:

TODO: Think about a better way.

image

image

Add validation checks for lightning invoices on confirm send

This is blocked until #59 is finished.

In the confirm part of the send modal ConfirmSendModal it lists all the data of the decoded lightning invoice.

If the expiry date of the invoice has passed or the amount of the invoice is higher than the available balance, do not enable the confirm button and also write the reason somewhere why the invoice can not be confirmed.

HTTP Error Handling

Currently there is no error handling for all web requests at all (for some just catching without any action).

This could result in a broken app when there is a other status code than 200 (e.g. not authenticated) and could confuse users when no notification etc. happens.

  • When token was expired and no action was done before (refreshing with action done in #146), then log out automatically or on 401
  • on everything except 200 and 401 error code show error dialog and forward the message from the backend (for now)

FEATURE REQUESTS - aiming to have the same functionality as the CLI menu

Yes, I dont know how to name this issue, pls rename it as you like.

Appearance

Apps

  • Hide Tor addresses by default (option to copy the address with one click)
  • Buttons
    • Update
    • Install
    • Remove
    • Start
    • Stop
    • See logs
    • Restart
    • Possibly more buttons to be free implemented later (renew tor address, enable client auth, but this is advaced for another stage)

System

  • Debug logs at least
  • Other functionalities like rebooting the system too

add storybook

Started in the storybook branch.

Will be started when the Design / Features have more stabilized

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.