Skip to content

LLD:DeepLinking

Alexandre Chabrolin edited this page Aug 18, 2022 · 16 revisions

Deep Linking Ledger Live

Protocols

Currently, Ledger Live will open with this scheme:

  • ledgerlive://

Routing

Every route is preceded by the protocol **_ledgerlive://**_

Some routes allow you to use query params to pass additional context.

⚠️ You should not use anchor tag inside your deeplink ⚠️

This is especially true for discover / platform related deeplinks (cf. discover entries bellow)

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 platform app (even query params). Have a look at this resource for more context.

  • portfolio 🠒 Portfolio page (default landing)

    ledgerlive:// or ledgerlive://portfolio

  • accounts 🠒 Accounts Page

    ledgerlive://accounts will redirect to accounts page

  • account?currency 🠒 Account Page

    ledgerlive://account?currency=btc will open first bitcoin account found

    • currency => the ticker or name of the currency required
  • send?currency?amount?recipient 🠒 Send Flow

    ledgerlive://send will redirect to send page

    	`ledgerlive://send?currency=ethereum` will redirect to send page with the first ethereum account found
    

    ledgerlive://send?currency=ethereum&recipient=0xex...xxx&amount=3 will redirect to send page with the first ethereum account found and recipient and amount prefilled

    	- *currency* => the ticker of the currency **required**
    	- *amount* => the amount to send
    	- *recipient* => the address to send to
    
  • receive?currency 🠒 Receive Flow

    ledgerlive://receive?currency=ethereum will redirect to receive page with the first ethereum account found

    	- *currency* => the ticker or name of the currency **required**
    
  • delegate?currency_ 🠒 Send Flow

    	`ledgerlive://delegate?currency=tron` will redirect to delegation page with the first tron account found
    
    	- *currency* => the ticker or name of the currency **required**
    	- *validators* => TBD - no ready yet
    
  • _buy 🠒 Buy Crypto Flow

    ledgerlive://buy will redirect to buy page

  • swap 🠒 Swap Crypto Flow

    ledgerlive://swap will redirect to swap page

  • manager 🠒 Device Management Flow

    ledgerlive://manager will redirect to manager page

  • manager?installApp 🠒 Device Management Flow

    ledgerlive://manager?installApp=bitcoin will redirect to manager page with a pre-filled search for bitcoin

      - *installApp* => the search query to be pre-filled when the manager opens
    
  • discover 🠒 Live discover catalog

    ledgerlive://discover will redirect to discover page

  • discover/:APP_ID?params... 🠒 Live discover catalog

    ledgerlive://discover/paraswap?accountId=1 will redirect to the discover catalog page of paraswa with a pre-selected first account

      - *APP_ID* => the url param app id
      - *?params* => the url query params that will be transmitted to the app, you should refer to each apps documentation in order to use them.
    
Clone this wiki locally