Overview
The sandbox developer tools currently expose a "Show on Device" option only for Ethereum in the Get Address flow. When enabled, this displays the derived address on the hardware device screen for user verification—a useful security feature for confirming the correct address before use.
All other chains (Bitcoin, Cosmos, Litecoin, Dogecoin, Ripple, THORChain) hardcode showDisplay: false in their Get Address tools and do not offer this option to users. The underlying HD wallet APIs already support showDisplay for these chains, so this is purely a UI/UX gap in the sandbox.
References and additional details
Current implementation (Ethereum only):
examples/sandbox/developerTools.ts — Ethereum Get Address tool (lines ~276–310) includes a "Show on Device" select input and passes showDisplay from user selection to wallet.ethGetAddress().
Chains to update:
- Bitcoin (
btc-address) — uses btcGetAddress, supports showDisplay in packages/hdwallet-core/src/bitcoin.ts
- Cosmos (
cosmos-address) — uses cosmosGetAddress, supports showDisplay in packages/hdwallet-core/src/cosmos.ts
- Litecoin (
ltc-address) — uses btcGetAddress with coin: 'Litecoin', supports showDisplay
- Dogecoin (
doge-address) — uses btcGetAddress with coin: 'Dogecoin', supports showDisplay
- Ripple (
ripple-address) — uses rippleGetAddress, supports showDisplay in packages/hdwallet-core/src/ripple.ts
- THORChain (
thorchain-address) — uses thorchainGetAddress, supports showDisplay in packages/hdwallet-core/src/thorchain.ts
Pattern to follow: Add an input to each Get Address tool matching Ethereum's:
{
id: '<chain>-addr-display',
label: 'Show on Device',
type: 'select',
options: [
{ value: 'false', label: 'No' },
{ value: 'true', label: 'Yes' }
]
}
Then read the value and pass showDisplay: ($('#<chain>-addr-display') as any).val() === 'true' to the respective getAddress call.
Acceptance Criteria
Need By Date
N/A
Screenshots/Mockups
N/A — UI change mirrors existing Ethereum Get Address behavior.
Estimated effort
1 hour
Overview
The sandbox developer tools currently expose a "Show on Device" option only for Ethereum in the Get Address flow. When enabled, this displays the derived address on the hardware device screen for user verification—a useful security feature for confirming the correct address before use.
All other chains (Bitcoin, Cosmos, Litecoin, Dogecoin, Ripple, THORChain) hardcode
showDisplay: falsein their Get Address tools and do not offer this option to users. The underlying HD wallet APIs already supportshowDisplayfor these chains, so this is purely a UI/UX gap in the sandbox.References and additional details
Current implementation (Ethereum only):
examples/sandbox/developerTools.ts— Ethereum Get Address tool (lines ~276–310) includes a "Show on Device" select input and passesshowDisplayfrom user selection towallet.ethGetAddress().Chains to update:
btc-address) — usesbtcGetAddress, supportsshowDisplayinpackages/hdwallet-core/src/bitcoin.tscosmos-address) — usescosmosGetAddress, supportsshowDisplayinpackages/hdwallet-core/src/cosmos.tsltc-address) — usesbtcGetAddresswithcoin: 'Litecoin', supportsshowDisplaydoge-address) — usesbtcGetAddresswithcoin: 'Dogecoin', supportsshowDisplayripple-address) — usesrippleGetAddress, supportsshowDisplayinpackages/hdwallet-core/src/ripple.tsthorchain-address) — usesthorchainGetAddress, supportsshowDisplayinpackages/hdwallet-core/src/thorchain.tsPattern to follow: Add an input to each Get Address tool matching Ethereum's:
Then read the value and pass
showDisplay: ($('#<chain>-addr-display') as any).val() === 'true'to the respectivegetAddresscall.Acceptance Criteria
Shown on device: Yes/No)Need By Date
N/A
Screenshots/Mockups
N/A — UI change mirrors existing Ethereum Get Address behavior.
Estimated effort
1 hour