Fedimint Client Typescript (Web)
THIS IS A WORK IN PROGRESS AND NOT READY FOR USE
This package provides a typescript interface for the Fedimint client in the browser
Installation
npm install fedimint-web
yarn add fedimint-web
pnpm add fedimint-web
Usage
import { FedimintWallet } from 'fedimint-web'
const inviteCode = 'fed11qgqpw9thwvaz7t...'
await FedimintWallet.initFedimint()
const wallet = await FedimintWallet.joinFederation(inviteCode)
const balance = await wallet.getBalance()
await wallet.reissueNotes('A11qgqpw9thwvaz7t...')
await wallet.payInvoice('lnbc...')
Check out the example
examples/vite-core