
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
@fedimint/react
Advanced tools
<!-- Removes the border below the header tag --> <summary> @fedimint/react
Helpful React hooks for building with the Fedimint Sdk.
pnpm install @fedimint/core @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.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.