<pnpm|bun> add @swapkit/wallet-ledger
import { SwapKit, getDerivaitionPathFor } from '@swapkit/core'
import { ledgerWallet } from '@swapkit/wallet-ledger'
const swapKitClient = SwapKit({
wallets: { ...ledgerWallet },
});
// [84, 0, 1, 0, 0]
const derivationPath = getDerivationPathFor({
chain: Chain.Bitcoin, index: 1, type: "nativeSegwitMiddleAccount"
});
await swapKitClient.connectLedger([Chain.Bitcoin], derivationPath)
const btcWallet = await swapKitClient.getWalletWithBalance(Chain.Bitcoin)