The Basics
- Add Login / Signup
- Chains / Networks
- Wallets
- Users / VC's
- Design
- Onramps
Beyond The Basics
- Headless
- Global Wallets
- Bridge Widget
- Rate Limits
Developer Dashboard
- SDK and API Keys
- Sandbox vs Live
- Analytics
- User Management
- Test Accounts
- Settings
- Admin
- Webhooks
- Configuring Social Providers
Tutorials
- Farcaster
- Telegram
- Features
- Frameworks
- Integrations
- Webhooks
Migrating to Dynamic
- Migrating to Dynamic
- Migration Tutorials
For Wallets & Chains
Legacy: V1 Embedded Wallets
- V1 Embedded Wallets Overview
- Working with environments that have both v1 and v2 embedded wallets
- Transactional MFA
- Headless
isLedgerSolanaWallet
Determine if a given wallet is connected as a Ledger Solana wallet.
import { useDynamicContext } from '@dynamic-labs/sdk-react-core'
import { isLedgerSolanaWallet } from "@dynamic-labs/solana-core";
const App = () => {
const { primaryWallet } = useDynamicContext()
if (primaryWallet && isLedgerSolanaWallet(primaryWallet)) {
/**
* This block will execute if the primaryWallet was connected
* as a Ledger wallet on the Solana blockchain during the
* Dynamic UI connection process.
*/
}
}
Was this page helpful?