
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
@fedimint/react
Advanced tools
<!-- Removes the border below the header tag --> <summary> @fedimint/react
Helpful React hooks for building with the Fedimint Web SDK.
pnpm install @fedimint/core-web @fedimint/react
import { FedimintWalletProvider, setupFedimintWallet } from '@fedimint/react'
setupFedimintWallet({
lazy: false,
debug: true,
})
// Wrap your app in the FedimintWalletProvider
<FedimintWalletProvider>
<App />
</FedimintWalletProvider>
// App.tsx
// Balance
import { useBalance } from '@fedimint/react'
const balance = useBalance()
// Wallet
import { useOpenWallet } from '@fedimint/react'
const {
walletStatus, // 'open' | 'closed' | 'connecting' | 'failed'
openWallet, // () => Promise<boolean> - Returns true if wallet was opened successfully.
joinFederation, // () => Promise<boolean> - Returns true if joined federation successfully.
} = useOpenWallet()
// Receive Lightning
import { useReceiveLightning } from '@fedimint/react'
const {
generateInvoice, // (amount: number) => Promise<void>
bolt11, // string
invoiceStatus, // 'pending' | 'confirmed' | 'failed'
error, // Error | undefined
} = useReceiveLightning()
// Send Lightning
import { useSendLightning } from '@fedimint/react'
const {
payInvoice, // (bolt11: string) => Promise<void>
paymentStatus, // 'pending' | 'confirmed' | 'failed'
paymentError, // Error | undefined
} = useSendLightning()
FAQs
<!-- Removes the border below the header tag --> <summary> @fedimint/react
We found that @fedimint/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.