Releases: fedimint/fedimint-web-sdk
@fedimint/fedimint-client-wasm-web@0.0.1
Patch Changes
- ec6f0c2: Separated wasm dependecies into their own packages
@fedimint/fedimint-client-wasm-bundler@0.0.1
Patch Changes
- ec6f0c2: Separated wasm dependecies into their own packages
@fedimint/core-web@0.0.5
Docs Site is Live!!! https://web.fedimint.org
Patch Changes
- ec6f0c2: Separated wasm dependecies into their own packages
- 6aae407: Added cursory documentation
/docs
- 27d42ad: Added Example projects to docs containing Stackblitz previews
- 908129f: Added TestingService for exposing internal state during tests. Added a bunch of tests.
- ada54ce: Shortened lightning function names to omit "Bolt11". (createBolt11Invoice --> createInvoice
- 20a2783: Added a docs website powered by vitepress
- a091101: Added debug logging with configurable logging levels
- Updated dependencies [ec6f0c2]
- @fedimint/fedimint-client-wasm-bundler@0.0.1
@fedimint/core-web@0.0.4
@fedimint/core-web@0.0.3
Patch Changes
- 2185071: Moved wasm instantiation off the main thread and onto a web worker
- ad4cf7b: Fix Lightning Gateway selection
- 0f68de2: Replaced wasm pack artifact with a build using --target = bundler (instead of web)
- 2185071: Fixed types of new RPCs
- 0f68de2: Fixed bundling behavior
- 998b33a: Updated Readmes with working usage instructions
@fedimint/core-web@0.0.2
Patch Changes
- 41bd257: Added remaining RPCs from fedimintClientWasm to FedimintWallet
- 41bd257: Implemented type type system for rpcs
- bc61eff: Implement rollup for building library
- 26b9ad4: Bump wasm - Adds unsubscribe to streams
- 26b9ad4: Implemented unsubscribe for streaming rpcs
- 9c6e2fc: Updated READMEs & usage guides
@fedimint/core-web@0.0.2-alpha.2
@fedimint/core-web@0.0.2-alpha.1
@fedimint/core-web Initial Pre-Release 🙌
@fedimint/core-web
Initial Pre-Release 🙌
This initial pre-release of @fedimint/core-web
introduces a TypeScript library for building web applications with a Fedimint client.
The package exposes the robust fedimint-client (built in Rust and packaged with wasm-pack) via WebAssembly, while providing a dead-simple interface for web developers.
Key Features:
- WebAssembly-powered Client: Exposes the robust, fault-tolerant fedimint-client (built in Rust) via WebAssembly.
- 💰 eCash Payments: Includes support for joining federations, sending/receiving eCash, and managing balances.
- ⚡️ Lightning Payments: Ships with zero-setup Lightning Network payments.
- 🛠️ State Management: Handles the complex state management and storage challenges for browser wallets.
- 🤫 Privacy Included: Offers a privacy-centric wallet by default.
- ⚙️ Framework Agnostic: Designed as a "core" library compatible with vanilla JavaScript, laying the groundwork for future framework-specific packages.
Looking ahead, we plan to expand this SDK with framework-specific libraries, starting with React. Our mission is to provide the best possible developer experience for building with bitcoin, lowering the barrier to entry for creating safe, robust, privacy-centric applications.
Important Note: This alpha pre-release is an early, unstable version and is not suitable for production use. The API and functionality may undergo significant changes in future releases. We welcome developer exploration and feedback but advise against putting substantial effort into building applications with it at this stage. It's gonna change a lot.
Playground
To try it in action, check out the example project. It's a tiny React app bundled with Vite. (code)
Open up the browser tools if you want to see what's going on. Look at the network tab to see communication with guardians and IndexedDB to see the data being stored.
Credits & New Contributors
- @Kodylow - Idea & vision for an open-source Fedimint web client
- @maan2003 - WASM client & library architecture
- @IroncladDev - Monorepo setup & Library advice