Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shocknet/wallet2
Connect to multiple Lightning Nodes via LNURL and NOSTR
https://github.com/shocknet/wallet2
bitcoin lightning-network nostr wallet
Last synced: 3 months ago
JSON representation
Connect to multiple Lightning Nodes via LNURL and NOSTR
- Host: GitHub
- URL: https://github.com/shocknet/wallet2
- Owner: shocknet
- License: agpl-3.0
- Created: 2022-11-17T14:46:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-10T22:05:41.000Z (6 months ago)
- Last Synced: 2024-05-11T18:16:17.446Z (6 months ago)
- Topics: bitcoin, lightning-network, nostr, wallet
- Language: TypeScript
- Homepage:
- Size: 11.8 MB
- Stars: 22
- Watchers: 2
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nostr - shockwallet - A Lightning wallet that uses nostr and lnurl to connect to nodes (Clients / Relay lists)
README
# ShockWallet
![image](https://shockwallet.b-cdn.net/wnp%20banner.png)![GitHub last commit](https://img.shields.io/github/last-commit/shocknet/wallet2?style=flat-square)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
[![Chat](https://img.shields.io/badge/chat-on%20Telegram-blue?style=flat-square)](https://t.me/ShockBTC)
![X (formerly Twitter) Follow](https://img.shields.io/twitter/follow/ShockBTC?style=flat-square&logo=bitcoin)## ⚡ A revolutionary Lightning Wallet for connecting to nodes over Nostr. ⚡
Mobile nodes have proven slow and unreliable, while opening a channel to every app and device is cost prohibitive and unscalable.
Node sharing with friends and family, "Uncle Jim", has lacked adequate tooling to simplify networking and account setup... until now.
ShockWallet is the first wallet to use Nostr based accounts for Lightning Network connections, providing a new, open, and secure way to connect to the Lightning Network.
ShockWallet features node multi-sourcing and is pushing the boundaries of automation, allowing you to also connect to multiple accounts, including legacy LNURL ones, to manage your balances through a single interface.
As a Nostr-native wallet, ShockWallet also provides multi-device sync abilities via NIP78, enabling for example a shared wallet state between a Desktop and Phone.
**For new users, an optional Bootstrap node is default on mainnet allowing for the lay-away of a self-custodied channel for your own node with a partner LSP.** [*Service subject to Terms*](https://docs.shock.network/terms)
- ShockWallet and Lightning.Pub make connecting to your node as easy as pasting an nprofile
- You can even use a link to share your nprofile with friends and family
- Built with React and Ionic, builds for [Web Browser](https://my.shockwallet.app), [Android APK](https://dl.shockwallet.app/shockwallet.apk), or [Apple iOS](https://testflight.apple.com/join/soZAKZWj) are available from a single code-base.
- This is a reference wallet client for [Lightning.Pub](https://github.com/shocknet/Lightning.Pub) and also contains the beginnings of a node management dashboard.
- This will be both hidden and secured from your guests, tap the logo 3 times in the wallet to preview it.
# Try It Now
## [Web Browser/PWA](https://my.ShockWallet.app) | [Download Android APK](https://dl.shockwallet.app/shockwallet.apk) | [Apple Testflight](https://testflight.apple.com/join/soZAKZWj)
> [!WARNING]
> While already a more usable daily driver than most Lightning wallets, this software is still in alpha development. There will be bugs and bad UX decisions, please report any that you may find.> [!IMPORTANT]
> ShockWallet and Lightning.Pub are free software. If you would like to see continued development, please show your [**support**](https://github.com/sponsors/shocknet) 😊
>
>#### Build from source
Clone the repo```bash
git clone https://github.com/shocknet/wallet2
```
Install```bash
cd wallet2 && npm i
npm install -g @ionic/cli native-run cordova-res
```
* Update src/constants.ts to customize#### Self-Hosting the PWA
Run dev server
- `ionic serve`
or, build for production as static files
- `ionic build --prod`
Serve either behind a reverse-proxy like Caddy
#### Build for Android
- `npm run build`
Choose the Android platform in the prompt, and sign and build with Android Studio
#### iOS
- `npm run build`
Choose the iOS platform in the prompt, and sign and build with Xcode
Set your signing certificate and update the Bundle Identifier to match your Apple Developer account