Load the Live App manifest
In this tutorial, we will load the Live App in Ledger Wallet. By the end, the app name will appear in the Ledger Wallet menu and we will be able to open it.
This page continues Read accounts and sign a transaction. Developer mode, including the ten clicks on the version, is documented in Enabling the developer mode.
9. Create manifest.json
A manifest tells Ledger Wallet which URL to open and which Wallet API methods the app may call. Create manifest.json at the project root. Use this sample:
{
"$schema": "https://live-app-catalog.ledger.com/schema.json",
"id": "SampleLiveApp",
"name": "SampleLiveApp",
"url": "http://localhost:3000/",
"homepageUrl": "http://localhost:3000/",
"platform": ["ios", "android", "desktop"],
"apiVersion": "^2.0.0",
"manifestVersion": "2",
"branch": "stable",
"categories": ["NFT", "Swap", "YourAppCategory"],
"currencies": "*",
"content": {
"shortDescription": {
"en": "Desc"
},
"description": {
"en": "Desc"
}
},
"permissions": [
"account.list",
"account.receive",
"account.request",
"currency.list",
"message.sign",
"transaction.sign",
"transaction.signAndBroadcast",
"wallet.capabilities",
"wallet.info",
"wallet.userId"
],
"domains": ["http://", "https://"],
"visibility": "complete"
}Field-by-field rules for this file are in the manifest reference.
10. Import the manifest
Install Ledger Wallet desktop. Open Settings, then About, and click the Ledger Wallet version ten times. A Developer section appears.
- Turn on Enable platform dev tools.
- Next to Add a local app, click Browse and select
manifest.json.
A new row appears in the menu, using the name from the manifest. Open it to run the Live App inside Ledger Wallet.
We have loaded the Live App from a local manifest. Next: About Live Apps for how Discover and the Wallet API fit together, and Enabling the developer mode for the other developer settings.