-
Notifications
You must be signed in to change notification settings - Fork 333
LLD:DeepLinking
It is possible to launch Ledger Live Desktop and open a specific section or modal by using a deep link.
All Ledger Live deep links start with the ledgerlive://
URI.
On mac the Dev builds will override the default deeplink for LLD prod.
So if you want/need to reset the deeplink you can use this tool: https://github.com/Lord-Kamina/SwiftDefaultApps It allows you to change the target for the ledgerlive deeplink, as seen in the image below.
Every route is preceded by the protocol ledgerlive://
.
Some routes allow you to use query params to pass additional context.
This is especially true for discover related deeplinks.
Keep in mind that everything after an anchor tag is client side (in this case Ledger Live) and will then not be forwarded to the liveApp (even query params). Have a look at this resource for more context.
Query String Parameters: None
Examples:
-
ledgerlive://
orledgerlive://portfolio
Query String Parameters: None
Examples:
-
ledgerlive://accounts
will redirect to accounts page
Query String Parameters:
- currency (required): the ticker or name of the currency
Examples:
-
ledgerlive://account?currency=btc
will open the first bitcoin account found -
ledgerlive://account?currency=ethereum&address=0x1fd2c4d9e5Fd4f9B4B..Ec9C40F88324fB
Open 0x1fd2c4d9e5Fd4f9B4B..Ec9C40F88324fB's Account page. If you have same account but on Polygon and you change currency withpolygon
then you go to Polygon's Account page
Query String Parameters:
- currency (optional): the ticker or name of the currency
Examples:
-
ledgerlive://add-account
Opens Add Account Modal -
ledgerlive://add-account?currency=bitcoin
Opens Add Account Modal with Bitcoin pre-filled
Query String Parameters:
- currency (optional): the ticker of the currency
- amount: the amount to send
- recipient: the address to send to
Examples:
-
ledgerlive://send
will redirect to send page (modal) -
ledgerlive://send?currency=ethereum
will redirect to send page with the first ethereum account found, if no account then redirect to Add Account flow with the currency pre-filled -
ledgerlive://send?currency=ethereum&recipient=0xex...xxx&amount=3
will redirect to send page with the first ethereum account found and recipient and amount pre-filled
Query String Parameters:
- currency (optional): the ticker or name of the currency
Examples:
-
ledgerlive://receive
will redirect to receive page (modal) -
ledgerlive://receive?currency=ethereum
will redirect to receive page with the first ethereum account found, if no account then redirect to Add Account flow with the currency pre-filled
Query String Parameters:
- currency (required): the ticker or name of the currency
Examples:
-
ledgerlive://delegate?currency=tezos
will redirect to receive page with the first tezos account found
Only currency supported is currently tezos.
Query String Parameters: See liveApp documentation
Examples:
-
ledgerlive://buy
will redirect to buy page
Query String Parameters: None
Examples:
-
ledgerlive://swap
will redirect to swap page
Query String Parameters: None
- installApp: the search query to be pre-filled when MyLedger opens
Examples:
-
ledgerlive://myledger
will redirect to MyLedger page -
ledgerlive://myledger?installApp=bitcoin
will redirect to MyLedger page with a pre-filled search for bitcoin
Url Parameter:
- liveAppId (optional): the liveApp id
Query String Parameters:
- &{params}: the url query params that will be transmitted to the liveApp (please refer to each apps documentation in order to use them).
Examples:
-
ledgerlive://discover
will redirect to discover page -
ledgerlive://discover/paraswap
will redirect to the discover catalog page of Paraswap -
ledgerlive://discover/paraswap?accountId=1
will redirect to the discover catalog page of Paraswap with a pre-selected first account
Examples:
-
ledgerlive://earn
will redirect to earn dashboard page -
ledgerlive://earn?action=stake
will open staking flow -
ledgerlive://earn?action=stake-account&accountId=1
will open staking flow with selected account prefilled -
ledgerlive://earn?action=get-funds¤cyId=ethereum
will open buy drawer with specified currency
Query String Parameters: None
Examples:
-
ledgerlive://market
will redirect to market page
ledgerlive://settings/
ledgerlive://settings/general
ledgerlive://settings/accounts
ledgerlive://settings/about
ledgerlive://settings/help
ledgerlive://settings/experimental
ledgerlive://wc
ledgerlive://post-onboarding
ledgerlive://storyly
ledgerlive://ledgersync
ledgerlive://bridge
- Ledger Live Desktop
- Ledger Live Mobile
-
Ledger Live Common
- Introduction
- Currency Models
- Currency Bridge
- Account
- Account Bridge
- apps
- appsCheckAllAppVersions
- ledger-live bot
- Canonical Ways to Investigate Bugs
- Coin Integration Introduction
- Countervalues
- Packages Duplicates
- Derivation
- Developing with CLI
- Developing
- Gist Firmware Update
- Gist Transaction
- Hardware Wallet Logic
- Socket
- Assorted tips
- Integration Tests
- Process
- Monorepository Migration Guide
- Issues, Workaround and Tricks
- Common CI Troubleshooting
- Create staging builds using the CI
- Deprecated