A Robust, privacy-focused, and WebAssembly-powered fedimint client for the browser.
Docs Site: web.fedimint.org
Package | Version | Description |
---|---|---|
@fedimint/core |
Core Fedimint client for JavaScript runtimes (Wasm bindings, high-level API, testing utilities). | |
@fedimint/react |
React hooks and context for working with Fedimint clients in React applications. | |
@fedimint/transport-web |
Web worker transport that hosts the Wasm client and communicates with @fedimint/core . |
|
create-fedimint-app |
CLI tool for scaffolding a Fedimint starter app with Vite, React, and TypeScript. |
Package | Version | Description |
---|---|---|
@fedimint/core-web (deprecated) |
Legacy shim that re-exports @fedimint/core ; new projects should depend on @fedimint/core directly. |
|
@fedimint/fedimint-client-wasm-web |
Not intended for direct use. Wasm-pack build targeting web environments; consumed by @fedimint/transport-web . |
|
@fedimint/fedimint-client-wasm-bundler |
Not intended for direct use. Wasm-pack build targeting bundler environments; used when bundling custom transports or hosts. | |
@fedimint/types |
Shared TypeScript interfaces for transports and other Fedimint client implementations. | |
@fedimint/integration-tests (private) |
β | Internal Vitest harness for exercising the SDK against embedded nodes. |
This monorepo is structured as a pnpm workspace. There are some helpful scripts in the root package.json
to help manage the workspace.
fedimint-web-sdk
βββ docs
βββ examples
β βββ vite-core
β βββ bare-js
β βββ next-js
β βββ webpack-app
βββ packages
βββ core
βββ core-web
βββ create-fedimint-app
βββ integration-tests
βββ react
βββ transport-web
βββ types
βββ wasm-bundler
βββ wasm-web
βββ scripts
vite-core
: React + Vite starter focused on@fedimint/core
primitives.next-js
: Example configuration for a Next.js application.webpack-app
: Demonstrates configuring webpack for Fedimint applications.bare-js
: Minimal usage of@fedimint/core
without a bundler.
Used the wagmi library as a reference for the repo's structure.