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://accountwill redirect to accounts pageledgerlive://account?currency=btcwill open first bitcoin account found?currencyparam can be name or ticker of the currency targeted -
send?currency 🠒 Send Flow
ledgerlive://sendwill redirect to send pageledgerlive://send?currency=ethereumwill redirect to send page with ethereum accounts search prefilled -
receive?currency 🠒 Receive Flow
ledgerlive://receivewill redirect to receive pageledgerlive://receive?currency=ethereumwill redirect to receive page with ethereum accounts search prefilled -
buy/:currency 🠒 Buy Crypto Flow
ledgerlive://buywill redirect to buy pageledgerlive://buy/bitcoinwill redirect to buy page with bitcoin accounts search prefilled -
manager 🠒 Manager page
ledgerlive://managerwill redirect to manager pageledgerlive://manager?installApp=bitcoinwill redirect to manager page with "bitcoin" app search prefilled -
swap 🠒 Swap Crypto Flow
ledgerlive://swapwill redirect to swap page -
discover 🠒 Live discover catalog
ledgerlive://discoverwill redirect to discover page -
discover/:APP_ID?params... 🠒 Live discover catalog
ledgerlive://discover/paraswap?accountId=1will 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.