Giter Site home page Giter Site logo

moogmodular / lnapp-starter Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 3.0 667 KB

Convenient starter for Lightning Network driven web apps.

Home Page: https://lnapp-starter.up.railway.app

License: MIT License

TypeScript 97.10% JavaScript 2.52% CSS 0.38%
bitcoin lightning-network nextjs tailwindcss trpc ln-url lnurl lnurl-auth lnurl-pay nostr

lnapp-starter's People

Contributors

zeschlauskwab avatar

Stargazers

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

Watchers

 avatar  avatar

lnapp-starter's Issues

implement nostr notifications

users can add a nostr public key so that the app can send an encrypted dm upon receiving a tip and the key will be displayed in the users list

Check for WebLN provider first

Super useful starter template!

To benefit even more from WebLN I suggest checking for WebLN support first before showing some fallback options (QR codes, copy invoice, etc).
here is some example code for this feature. https://www.webln.guide/building-lightning-apps/best-practices#prioritize-webln-offer-fallback-options

Several wallets already support WebLN: Alby, BlueWallet, Blixt, Breez and its support keeps increasing. All their users can interact programmatically with lightning apps without QR codes.

error when I run yarn

I get the following error when I run yarn

mrb@Ubuntu-PC:~/ts projects/lnapp-starter$ yarn
yarn install v1.22.19
[1/4] Resolving packages...
success Already up-to-date.
$ prisma generate
Prisma schema loaded from prisma/schema.prisma
warn Preview feature "interactiveTransactions" is deprecated. The functionality can be used without specifying it as a preview feature.
Error: Unable to establish a connection to query-engine-node-api library. It seems that the current architecture x64 is not supported, or that libc is missing from the system.
Details: Unable to require(/home/mrb/ts projects/lnapp-starter/node_modules/prisma/libquery_engine-debian-openssl-3.0.x.so.node)
/snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /lib/x86_64-linux-gnu/libcrypto.so.3)
[Context: getDmmf]

Prisma CLI Version : 4.9.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

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.