The Fedimint Web SDK uses WebAssembly, which helps it run efficiently in browsers and takes care of complex tasks like managing the wallet's state. It supports eCash payments and LN transactions and ensures privacy π. It is also compatible with vanilla JS and frameworks like React β or Vue πΌ.
The Fedimint Web SDK has made it much easier to build Lightning Network (LN) wallets β‘. This open-source toolkit simplifies creating wallets for fast, private Bitcoin transactions π‘οΈ. Our goal is to provide the best possible developer experience for building with Bitcoin, lowering the barrier to entry for creating safe, robust, privacy-centric applications.
π To get started visit https://web.fedimint.org/
Discussion
How can one build a LN wallet with the Fedimint Web SDK?
Start by using the create-fedimint-app tool π , which sets up a project with Vite, React, and TypeScript π. Then, integrate the @fedimint/core-web package to connect to a federation, manage your balance, and handle payments.
You can send and receive eCash within the federation or use LN for external payments.
For example, an Independent Project like Vipr was built using the SDKβ, available on https://github.com/ngutech21/vipr-wallet
Vipr is a modern Progressive Web App (PWA) π±π» that functions as an eCash wallet, supporting Nostr-based federation discovery, joining multiple federations, and paying LN invoices via Nostr Wallet Connect.
πTest it here: https://beta.vipr.cash/#/
There is a detailed walkthrough on how to build a wallet using the SDK that covers the process in about 20 minutes.
Explore more via our docs
https://github.com/fedimint/fedimint-web-sdk
Check out the Tutorial Video.