moogmodular / lnapp-starter Goto Github PK
View Code? Open in Web Editor NEWConvenient starter for Lightning Network driven web apps.
Home Page: https://lnapp-starter.up.railway.app
License: MIT License
Convenient starter for Lightning Network driven web apps.
Home Page: https://lnapp-starter.up.railway.app
License: MIT License
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
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.
Page refreshes on focus and looses context.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.