Ledger and Trezor sign transactions but not arbitrary messages: how to use them with Cloak
Hardware wallets such as Ledger and Trezor usually sign Solana transactions but not arbitrary
messages. That one gap decides how they fit.
Action
With a hardware wallet
Open a createCloak account by signature
Not possible: it needs a message signature
Shield from Solana
Yes: one transaction
Private send, withdrawal (with createCloak)
Yes, once the account is open: no wallet prompt
Private send, withdrawal (low-level API)
Yes: the wallet signs a 0 SOL self-transfer that is never sent
With createCloak: open the account another way
Pass the hardware wallet together with a way to open the account. The wallet is then used for
shields only.
import { createCloak } from "@cloak.dev/sdk";declare const ledgerWallet: unknown; // the wallet-adapter context or adapter for the Ledger// Option A: the user's Cloak Key (24 words from cloak.ag). The Ledger is linked to it.const cloak = await createCloak({ wallet: ledgerWallet, cloakKey: process.env.CLOAK_KEY_WORDS!, // from user input in a real app, never an env var in a browser rpc: process.env.SOLANA_RPC_URL,});await cloak.shield({ from: "solana", token: "USDC", amount: "10" }); // the Ledger signs this
You can also pass the hardware wallet together with a second wallet that signs messages
(wallets: [phantom, ledger]): the second one opens the account. Passing only a hardware wallet
throws account.no_signer.A Ledger behind a legacy wallet adapter receives a web3.js VersionedTransaction. In a bundled app
pass the class in: createCloak({ ..., web3: { VersionedTransaction } }).
With the low-level API
Pass signer and leave signMessage out. Every submitted request is then authenticated by asking
the wallet to sign a deterministic legacy transaction: a 0-lamport transfer to itself whose blockhash
field carries the request digest. It can never land on chain and is never sent.
import { VersionedTransaction } from "@solana/web3.js";import { signerFromWalletAdapter, type LegacyWalletAdapter } from "@cloak.dev/sdk";export function hardwareSigner(adapter: LegacyWalletAdapter) { // No signMessage: the SDK falls back to the self-transfer authentication. return signerFromWalletAdapter(adapter, { web3: { VersionedTransaction } });}
Tell the user what they are approving. The device shows a 0 SOL transfer to the user’s own
address. Explain before the prompt that it is an authentication, not a payment, or users will reject
it.
Give a hardware wallet signer or signMessage, never both: when both are present the SDK uses
signMessage, which a Ledger cannot do. A request stays valid for 300 seconds and its clock
starts before the device prompt, so a slow confirmation on the device can expire it. See
Request authentication.
Wallets that change what they sign
Some wallets add compute-budget or guard instructions to the authentication transaction before the
device signs it. The SDK accepts those additions only for the ComputeBudget and Lighthouse programs,
and verifies the signature over the changed message before sending it on.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cloak Documentation","colors":{"primary":"#6366F1","light":"#818CF8","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/cloak/r0L-ODeES1X_5cwS/logo/light.svg?fit=max\u0026auto=format\u0026n=r0L-ODeES1X_5cwS\u0026q=85\u0026s=5954e67549c08881ba79e740af1cfcbb","dark":"https://mintcdn.com/cloak/r0L-ODeES1X_5cwS/logo/dark.svg?fit=max\u0026auto=format\u0026n=r0L-ODeES1X_5cwS\u0026q=85\u0026s=f59f081b11a3e9ca4c1689c94e5483d9"},"favicon":"https://mintcdn.com/cloak/r0L-ODeES1X_5cwS/favicon.svg?fit=max\u0026auto=format\u0026n=r0L-ODeES1X_5cwS\u0026q=85\u0026s=bf111d429b406b5303c854b66d6b3f84","navbar":{"links":[{"href":"https://cloak.ag","label":"App"}]},"footer":{"socials":{"x":"https://x.com/cloak_ag","github":"https://github.com/cloak-ag","telegram":"https://t.me/cloak_community"}},"search":{"prompt":"Search Cloak docs..."},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/cloak-ag/sdk"},{"anchor":"NPM","icon":"npm","href":"https://www.npmjs.com/package/@cloak.dev/sdk"},{"anchor":"Telegram","icon":"telegram","href":"https://t.me/cloak_community"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cloak","hasAudioNarration":false,"actualSubdomain":"cloak","customDomains":["docs.cloak.ag"],"gitSource":{"type":"github","owner":"cloak-ag","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10cfdd9ffae5051c40ac0e"},"entitlements":{},"buildId":"6b10602857a1fea88d218d81","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"Developers","count":56},{"language":"default","tag":"Guide","count":18},{"language":"default","tag":"Concepts","count":10},{"language":"default","tag":"Guides","count":10},{"language":"default","tag":"Wallet Integrations","count":8},{"language":"default","tag":"Partners","count":7},{"language":"default","tag":"Start here","count":7},{"language":"default","tag":"TypeScript SDK","count":7},{"language":"default","tag":"Examples","count":6},{"language":"default","tag":"Resources","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"wallets/hardware-wallets","slug":"/wallets/hardware-wallets","pageMetadata":{"title":"Hardware wallets","description":"Ledger and Trezor sign transactions but not arbitrary messages: how to use them with Cloak","icon":"key","href":"/wallets/hardware-wallets"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Ledger and Trezor sign transactions but not arbitrary messages: how to use them with Cloak\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Hardware wallets such as Ledger and Trezor usually sign Solana transactions but not arbitrary\nmessages. That one gap decides how they fit.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Action`}),_jsx(_components.th,{children:`With a hardware wallet`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Open a `,_jsx(_components.code,{children:`createCloak`}),` account by signature`]}),_jsx(_components.td,{children:`Not possible: it needs a message signature`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Shield from Solana`}),_jsx(_components.td,{children:`Yes: one transaction`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`Private send, withdrawal (with `,_jsx(_components.code,{children:`createCloak`}),`)`]}),_jsx(_components.td,{children:`Yes, once the account is open: no wallet prompt`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Private send, withdrawal (low-level API)`}),_jsx(_components.td,{children:`Yes: the wallet signs a 0 SOL self-transfer that is never sent`})]})]})]}),`\n`,_jsxs(Heading,{level:`2`,id:`with-createcloak-open-the-account-another-way`,children:[`With `,_jsx(_components.code,{children:`createCloak`}),`: open the account another way`]}),`\n`,_jsx(_components.p,{children:`Pass the hardware wallet together with a way to open the account. The wallet is then used for\nshields only.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`createCloak`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@cloak.dev/sdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`declare`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` ledgerWallet`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` unknown`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// the wallet-adapter context or adapter for the Ledger`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Option A: the user's Cloak Key (24 words from cloak.ag). The Ledger is linked to it.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` cloak`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createCloak`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` wallet:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` ledgerWallet`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` cloakKey:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`CLOAK_KEY_WORDS`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// from user input in a real app, never an env var in a browser`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` rpc:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` process`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`SOLANA_RPC_URL`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` cloak`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`shield`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`from:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"solana\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`token:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"USDC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`amount:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"10\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// the Ledger signs this`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`You can also pass the hardware wallet together with a second wallet that signs messages\n(`,_jsx(_components.code,{children:`wallets: [phantom, ledger]`}),`): the second one opens the account. Passing only a hardware wallet\nthrows `,_jsx(_components.code,{children:`account.no_signer`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`A Ledger behind a legacy wallet adapter receives a web3.js `,_jsx(_components.code,{children:`VersionedTransaction`}),`. In a bundled app\npass the class in: `,_jsx(_components.code,{children:`createCloak({ ..., web3: { VersionedTransaction } })`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`with-the-low-level-api`,children:`With the low-level API`}),`\n`,_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`signer`}),` and leave `,_jsx(_components.code,{children:`signMessage`}),` out. Every submitted request is then authenticated by asking\nthe wallet to sign a deterministic legacy transaction: a 0-lamport transfer to itself whose blockhash\nfield carries the request digest. It can never land on chain and is never sent.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`VersionedTransaction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@solana/web3.js\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`signerFromWalletAdapter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`type`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` LegacyWalletAdapter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@cloak.dev/sdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` function`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` hardwareSigner`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`adapter`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` LegacyWalletAdapter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // No signMessage: the SDK falls back to the self-transfer authentication.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` signerFromWalletAdapter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`adapter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`web3:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`VersionedTransaction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } });`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Tell the user what they are approving. The device shows a 0 SOL transfer to the user’s own\naddress. Explain before the prompt that it is an authentication, not a payment, or users will reject\nit.`})}),`\n`,_jsxs(_components.p,{children:[`Give a hardware wallet `,_jsx(_components.code,{children:`signer`}),` or `,_jsx(_components.code,{children:`signMessage`}),`, never both: when both are present the SDK uses\n`,_jsx(_components.code,{children:`signMessage`}),`, which a Ledger cannot do. A request stays valid for 300 seconds and its clock\nstarts before the device prompt, so a slow confirmation on the device can expire it. See\n`,_jsx(_components.a,{href:`/sdk/request-authentication#hardware-wallet-signer-instead-of-signmessage`,children:`Request authentication`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`wallets-that-change-what-they-sign`,children:`Wallets that change what they sign`}),`\n`,_jsx(_components.p,{children:`Some wallets add compute-budget or guard instructions to the authentication transaction before the\ndevice signs it. The SDK accepts those additions only for the ComputeBudget and Lighthouse programs,\nand verifies the signature over the changed message before sending it on.`}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/wallets/wallet-adapter`,children:`Solana wallet adapter`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/sdk/request-authentication`,children:`Request authentication`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Hardware wallets","description":"Ledger and Trezor sign transactions but not arbitrary messages: how to use them with Cloak","icon":"key","href":"/wallets/hardware-wallets"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"With createCloak: open the account another way","slug":"with-createcloak-open-the-account-another-way","depth":2,"children":[]},{"title":"With the low-level API","slug":"with-the-low-level-api","depth":2,"children":[]},{"title":"Wallets that change what they sign","slug":"wallets-that-change-what-they-sign","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"cloak","siteName":"Cloak Documentation","title":"Hardware wallets - Cloak Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T21:46:45.103Z","originalFileLocation":"wallets/hardware-wallets.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Ledger and Trezor sign transactions but not arbitrary messages: how to use them with Cloak\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cloak Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cloak/IpqEVrAzuoUc5yhO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cloak/IpqEVrAzuoUc5yhO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cloak/IpqEVrAzuoUc5yhO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cloak/IpqEVrAzuoUc5yhO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cloak/IpqEVrAzuoUc5yhO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cloak/IpqEVrAzuoUc5yhO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cloak/IpqEVrAzuoUc5yhO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cloak/IpqEVrAzuoUc5yhO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cloak/IpqEVrAzuoUc5yhO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Hardware wallets - Cloak Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Ledger and Trezor sign transactions but not arbitrary messages: how to use them with Cloak\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cloak Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.cloak.ag/wallets/hardware-wallets\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cloak.mintlify.site/_mintlify/api/og/v2?division=Wallet+Integrations\u0026amp;title=Hardware+wallets\u0026amp;description=Ledger+and+Trezor+sign+transactions+but+not+arbitrary+messages%3A+how+to+use+them+with+Cloak\u0026amp;theme=2feb79f6e533c758e409f03b\u0026amp;signature=e1680bfaf430056222c57ad90825d82a9b0047f5b95a76742bc4f0530b387882\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Hardware wallets - Cloak Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Ledger and Trezor sign transactions but not arbitrary messages: how to use them with Cloak\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cloak.mintlify.site/_mintlify/api/og/v2?division=Wallet+Integrations\u0026amp;title=Hardware+wallets\u0026amp;description=Ledger+and+Trezor+sign+transactions+but+not+arbitrary+messages%3A+how+to+use+them+with+Cloak\u0026amp;theme=2feb79f6e533c758e409f03b\u0026amp;signature=e1680bfaf430056222c57ad90825d82a9b0047f5b95a76742bc4f0530b387882\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cloak/IpqEVrAzuoUc5yhO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cloak Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366F1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.cloak.ag/wallets/hardware-wallets\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/wallets/hardware-wallets.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.cloak.ag/#organization\",\"name\":\"Cloak Documentation\",\"url\":\"https://docs.cloak.ag\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cloak/r0L-ODeES1X_5cwS/logo/light.svg?fit=max\u0026auto=format\u0026n=r0L-ODeES1X_5cwS\u0026q=85\u0026s=5954e67549c08881ba79e740af1cfcbb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.cloak.ag#website\",\"name\":\"Cloak Documentation\",\"url\":\"https://docs.cloak.ag\",\"publisher\":{\"@id\":\"https://docs.cloak.ag/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.cloak.ag/wallets/hardware-wallets#webpage\",\"url\":\"https://docs.cloak.ag/wallets/hardware-wallets\",\"name\":\"Hardware wallets\",\"description\":\"Ledger and Trezor sign transactions but not arbitrary messages: how to use them with Cloak\",\"dateModified\":\"2026-11-30T21:46:45.103Z\",\"isPartOf\":{\"@id\":\"https://docs.cloak.ag#website\"},\"breadcrumb\":{\"@id\":\"https://docs.cloak.ag/wallets/hardware-wallets#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.cloak.ag/wallets/hardware-wallets#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Wallet Integrations\",\"item\":\"https://docs.cloak.ag/wallets/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hardware wallets\",\"item\":\"https://docs.cloak.ag/wallets/hardware-wallets\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.cloak.ag/wallets/hardware-wallets#article\",\"headline\":\"Hardware wallets\",\"name\":\"Hardware wallets\",\"description\":\"Ledger and Trezor sign transactions but not arbitrary messages: how to use them with Cloak\",\"url\":\"https://docs.cloak.ag/wallets/hardware-wallets\",\"mainEntityOfPage\":{\"@id\":\"https://docs.cloak.ag/wallets/hardware-wallets#webpage\"},\"dateModified\":\"2026-11-30T21:46:45.103Z\",\"publisher\":{\"@id\":\"https://docs.cloak.ag/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.cloak.ag#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cloak Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cloak Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/wallets/hardware-wallets.md","siteName":"Cloak Documentation","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/cloak-ag/sdk"},{"anchor":"NPM","icon":"npm","href":"https://www.npmjs.com/package/@cloak.dev/sdk"},{"anchor":"Telegram","icon":"telegram","href":"https://t.me/cloak_community"}]},"tabs":[{"tab":"Guide","pages":[{"title":"Guide","href":"/guide/what-is-cloak"}]},{"tab":"Developers","groups":[{"group":"Get Started","pages":[{"title":"Introduction","icon":"shield-halved","href":"/get-started/introduction"},{"title":"Core concepts","icon":"lightbulb","href":"/get-started/core-concepts"},{"title":"Quickstart","icon":"rocket","href":"/get-started/quickstart"},{"title":"Your first private transaction","icon":"play","href":"/get-started/first-private-transaction"},{"title":"Networks and assets","icon":"coins","href":"/get-started/networks-and-assets"}]},{"group":"Concepts","pages":[{"title":"How Cloak works","icon":"compass","href":"/concepts/how-cloak-works"},{"title":"Privacy architecture","icon":"diagram-project","href":"/concepts/privacy-architecture"},{"title":"UTXO model","icon":"lightbulb","href":"/concepts/utxo-model"},{"title":"Notes and balances","icon":"wallet","href":"/concepts/notes-and-balances"},{"title":"Zero-knowledge proofs","icon":"file-code","href":"/concepts/zero-knowledge-proofs"},{"title":"Privacy guarantees","icon":"eye-slash","href":"/concepts/privacy-guarantees"},{"title":"Viewing keys and compliance","icon":"key","href":"/concepts/viewing-keys-compliance"},{"title":"Transaction lifecycle","icon":"shuffle","href":"/concepts/transaction-lifecycle"},{"title":"Fees","icon":"receipt","href":"/concepts/fees"},{"title":"Shield Pool program","icon":"microchip","href":"/concepts/shield-pool-program"}]},{"group":"TypeScript SDK","pages":[{"title":"createCloak","icon":"wand-magic-sparkles","href":"/sdk/create-cloak"},{"title":"Low-level API","icon":"vault","href":"/sdk/low-level-api"},{"title":"Solana Kit integration","icon":"plug","href":"/sdk/kit-integration"},{"title":"Request authentication","icon":"signature","href":"/sdk/request-authentication"},{"title":"Batch signing","icon":"layer-group","href":"/sdk/batch-signing"},{"title":"Backend integration","icon":"server","href":"/sdk/backend-integration"},{"title":"Custom program integration","icon":"puzzle-piece","href":"/sdk/custom-programs"}]},{"group":"Wallet Integrations","pages":[{"title":"Wallet integrations","icon":"wallet","href":"/wallets/overview"},{"title":"Phantom and Wallet Standard","icon":"ghost","href":"/wallets/phantom-and-wallet-standard"},{"title":"Solana wallet adapter","icon":"wallet","href":"/wallets/wallet-adapter"},{"title":"Privy","icon":"user-shield","href":"/wallets/privy"},{"title":"Smart wallets","icon":"building-shield","href":"/wallets/smart-wallets"},{"title":"EVM wallets","description":"Open a Cloak account from MetaMask, Rabby or Coinbase Wallet, and shield USDC from Base or Polygon","icon":"ethereum","href":"/wallets/evm-wallets"},{"title":"Hardware wallets","icon":"key","href":"/wallets/hardware-wallets"},{"title":"Custom signers","description":"Server keys, Privy server wallets, KMS-backed signers, any wallet the SDK does not recognize, and sponsored deposits","icon":"code","href":"/wallets/custom-signers"}]},{"group":"Guides","pages":[{"title":"Deposit into a private balance","icon":"arrow-down-to-bracket","href":"/guides/deposit"},{"title":"Read private balances","icon":"scale-balanced","href":"/guides/balances"},{"title":"Private transfers","icon":"shuffle","href":"/guides/private-transfers"},{"title":"Withdraw to a public address","icon":"arrow-up-from-bracket","href":"/guides/withdraw"},{"title":"Private swaps","icon":"arrows-rotate","href":"/guides/private-swaps"},{"title":"Cross-chain","icon":"bridge","href":"/guides/cross-chain"},{"title":"Payroll and batch payouts","icon":"money-check-dollar","href":"/guides/payroll"},{"title":"Payment links","icon":"link","href":"/guides/payment-links"},{"title":"Transaction history","icon":"clock-rotate-left","href":"/guides/transaction-history"},{"title":"Viewing keys and selective disclosure","icon":"magnifying-glass-dollar","href":"/guides/viewing-keys"}]},{"group":"Examples","pages":[{"title":"Minimal TypeScript","icon":"terminal","href":"/examples/minimal-typescript"},{"title":"Next.js application","icon":"react","href":"/examples/nextjs"},{"title":"React (Vite)","icon":"atom","href":"/examples/react"},{"title":"Privy integration","icon":"user-shield","href":"/examples/privy"},{"title":"Backend orchestration","icon":"gears","href":"/examples/backend-orchestration"},{"title":"Low-level end-to-end","icon":"code-branch","href":"/examples/free-functions"}]},{"group":"API \u0026 SDK Reference","pages":[{"title":"API reference","icon":"code","href":"/reference/api"},{"title":"Configuration options","icon":"sliders","href":"/reference/configuration"},{"title":"Events and callbacks","icon":"bell","href":"/reference/events-and-callbacks"},{"title":"Error codes","icon":"triangle-exclamation","href":"/reference/errors"}]},{"group":"Resources","pages":[{"title":"Program IDs and addresses","icon":"fingerprint","href":"/resources/program-ids"},{"title":"Network and RPC","icon":"network-wired","href":"/resources/network-and-rpc"},{"title":"Security considerations","icon":"shield-check","href":"/resources/security"},{"title":"Troubleshooting","icon":"wrench","href":"/resources/troubleshooting"},{"title":"Changelog","icon":"rocket","href":"/releases/latest"},{"title":"Developer FAQ","icon":"circle-question","href":"/resources/faq"}]}]},{"tab":"Partners","pages":[{"title":"Partners","href":"/affiliates/overview"}]},{"tab":"AI Tools","pages":[{"title":"AI Tools","href":"/ai-tools/ai-integration"}]}]},"basePath":"","title":"Hardware wallets - Cloak Documentation","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":[],"chunks":[]}