Several URI schemes are available for deep linking from external sources They all are prefixed by ledgerlive://
-
portfolio 🠒 Portfolio page (default landing)
ledgerlive://
orledgerlive://portfolio
-
account?currency 🠒 Account Page
ledgerlive://account
will redirect to accounts pageledgerlive://account?currency=btc
will open first bitcoin account found?currency
param can be name or ticker of the currency targeted -
send?currency 🠒 Send Flow
ledgerlive://send
will redirect to send pageledgerlive://send?currency=ethereum
will redirect to send page with ethereum accounts search prefilled -
receive?currency 🠒 Receive Flow
ledgerlive://receive
will redirect to receive pageledgerlive://receive?currency=ethereum
will redirect to receive page with ethereum accounts search prefilled -
buy/:currency 🠒 Buy Crypto Flow
ledgerlive://buy
will redirect to buy pageledgerlive://buy/bitcoin
will redirect to buy page with bitcoin accounts search prefilled -
manager 🠒 Manager page
ledgerlive://manager
will redirect to manager pageledgerlive://manager?installApp=bitcoin
will redirect to manager page with "bitcoin" app search prefilled -
swap 🠒 Swap Crypto Flow
ledgerlive://swap
will redirect to swap page -
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.
Testing on android in order to test in debug your link run using adb
adb shell am start -W -a android.intent.action.VIEW -d "ledgerlive://{{YOUR_URL}}" com.ledger.live.debug
Testing on ios in order to test your link run using xcrun
xcrun simctl openurl booted ledgerlive://{{YOUR_URL}}
Testing through browser
run
yarn run test-deep-links
Then go to the provided link in order to see a test web page. For this either redirect the :8000 port on your chrome remote device settings or use the network link provided by the command.