An open API service indexing awesome lists of open source software.

https://github.com/fedimint/fedimint-web-sdk

Tools for developing Fedimint web clients
https://github.com/fedimint/fedimint-web-sdk

bitcoin ecash fedimint library react typescript web

Last synced: 8 months ago
JSON representation

Tools for developing Fedimint web clients

Awesome Lists containing this project

README

          


Fedimint Logo


    Fedimint Web SDK


    A Robust, privacy-focused, and WebAssembly-powered fedimint client for the browser.



GitHub License
Build Status
Docs Workflow
Ask DeepWiki




## Packages 📦

| Package | Version | Description |
| ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| [`@fedimint/core`](https://npmjs.com/package/fedimint/core) | ![NPM Version (latest)]() | Typescript interface for the Fedimint client wasm |
| [`@fedimint/react`](https://web.fedimint.org/docs/core/getting-started) | ![NPM Version (latest)]() | React components and hooks for interacting with the Fedimint client |
| [`@fedimint/wasm-web`](../packages/wasm-web/README.md) | ![NPM Version (latest)]() | Not intended for direct use. Contains the wasm pack output (target web) for the Fedimint client wasm. |
| [`@fedimint/wasm-bundler`](../packages/wasm-bundler/README.md) | ![NPM Version (latest)]() | Not intended for direct use. Contains the wasm pack output (target bundler) for the Fedimint client wasm. |
| [`create-fedimint-app`](../packages/create-fedimint-app/README.md) | ![NPM Version (latest)]() | Scaffold a new Fedimint app with Vite, React, and TypeScript. |

## Structure 🛠️

This monorepo is structured as a pnpm workspace. There are some helpful scripts in the root `package.json` to help manage the workspace.

```bash
fedimint-web-sdk
├── README.md
├── examples
│ ├── vite-core
│ ├── next-js
│ ├── webpack-app
│ └── bare-js
└── packages
├── core
├── react
├── wasm-web
├── wasm-bundler
└── create-fedimint-app
```

### Examples

- [`vite-core`](../examples/vite-core/README.md): Simple example of how to use the `core` package within a React app bundled with Vite.
- [`bare-js`](../examples/bare-js/README.md): Simple example of how to use the `core` package in a bare javascript environment (no bundler)
- [`next-js`](../examples/next-js/README.md): Example configuration for use within a `nextjs` project.
- [`webpack-app`](../examples/webpack-app/README.md): Example configuration for use within a project bundled with `webpack`.

### Credit

Used the [wagmi](https://github.com/wevm/wagmi) library as a reference for the repo's structure.