Skip to content

Releases: fedimint/fedimint-web-sdk

@fedimint/[email protected]

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

@fedimint/core-web

0.0.1

Patch Changes

@fedimint/[email protected]

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