Skip to content

Bare JS Example

This example shows how to use the core-web package in a bare javascript environment (no bundler).

There's no ui, so open your browser's console to see the library in action.

Code on Github

Live Preview

TIP

The Live Previews don't always work. If you're having trouble, try running the example locally OR using the StackBlitz link.

Also, you might need to disable your adblocker or Brave Shields to see the preview.


Open in StackBlitz

Running the Example Locally

Clone the repo

sh
git clone https://github.com/fedimint/fedimint-web-sdk.git
cd fedimint-web-sdk

Install the package manager with Corepack & install dependencies.

sh
corepack enable
pnpm i

Run the Example

sh
pnpm run dev:bare