fedimint-web-sdk
fedimint-web-sdk copied to clipboard
Tools for developing Fedimint web clients
Fedimint Web SDK
A Robust, privacy-focused, and WebAssembly-powered fedimint client for the browser.
Docs Site: web.fedimint.org
Packages 📦
| Package | Version | Description |
|---|---|---|
@fedimint/core-web |
Typescript interface for the Fedimint client wasm | |
@fedimint/react |
React components and hooks for interacting with the Fedimint client | |
@fedimint/wasm-web |
Not intended for direct use. Contains the wasm pack output (target web) for the Fedimint client wasm. | |
@fedimint/wasm-bundler |
Not intended for direct use. Contains the wasm pack output (target bundler) for the Fedimint client wasm. |
Structure 🛠️
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
├── README.md
├── examples
│ ├── vite-core
│ └── bare-js
└── packages
├── core-web
├── react
├── wasm-web
└── wasm-bundler
Examples
vite-core: Simple example of how to use thecore-webpackage within a React app bundled with Vite.bare-js: Simple example of how to use thecore-webpackage in a bare javascript environment (no bundler)
Credit
Used the wagmi library as a reference for the repo's structure.