Skip to content

Releases: fedimint/fedimint-web-sdk

@fedimint/fedimint-client-wasm-web@0.0.1

01 Oct 05:05
d0c97ff
Compare
Choose a tag to compare

Patch Changes

  • ec6f0c2: Separated wasm dependecies into their own packages

@fedimint/fedimint-client-wasm-bundler@0.0.1

01 Oct 05:05
d0c97ff
Compare
Choose a tag to compare

Patch Changes

  • ec6f0c2: Separated wasm dependecies into their own packages

@fedimint/core-web@0.0.5

01 Oct 05:05
d0c97ff
Compare
Choose a tag to compare

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

23 Sep 15:13
0f0db4f
Compare
Choose a tag to compare

Patch Changes

  • 012e4a1: Added workflows for pull request checks including calculating the compressed size of packages
  • 779e924: Set up vitest testing framework
  • 3038557: Refactor FedimintWallet into many composable services"

@fedimint/core-web@0.0.3

18 Sep 19:11
3f88426
Compare
Choose a tag to compare

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

12 Sep 18:27
be1582e
Compare
Choose a tag to compare

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

06 Sep 21:08
1375c19
Compare
Choose a tag to compare
Pre-release

@fedimint/core-web

0.0.1

Patch Changes

@fedimint/core-web@0.0.2-alpha.1

06 Sep 19:35
49240f6
Compare
Choose a tag to compare
Pre-release

@fedimint/core-web

0.0.1

Patch Changes

@fedimint/core-web Initial Pre-Release 🙌

06 Sep 02:03
1515139
Compare
Choose a tag to compare

@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