Manifest V2
Template of a manifest.json file :
{
"id": "ReplaceAppName",
"name": "ReplaceAppName",
"url": "http://localhost:3000/",
"params": {
"dappUrl": "http://localhost:3000/",
"nanoApp": "ReplaceAppName",
"dappName": "ReplaceAppName",
"networks": [
{
"currency": "ethereum",
"chainID": 1,
"nodeURL": "wss://eth-mainnet.ws.alchemyapi.io/v2/0fyudoTG94QWC0tEtfJViM9v2ZXJuij2"
}
]
},
"homepageUrl": "http://localhost:3000/",
"platform": ["ios","android","desktop"],
"apiVersion": "^2.0.0",
"manifestVersion": "1",
"branch": "stable",
"categories": ["ReplaceCatagories"],
"currencies": "*",
"content": {
"shortDescription": {
"en": "Desc"
},
"description": {
"en": "Desc"
}
},
"permissions": [],
"domains": ["http://*"],
"visibility": "complete"
}
Manifest properties
Properties | Type | Requirements |
---|---|---|
id | string | a-z | 0-9 | |
author | string | optional | * |
name | string | * |
url | string (URL) | * |
homepageUrl | string (URL) | optional | * |
supportUrl | string (URL) | optional | * |
icon | string (URL) | optional | * |
platforms | Array(enum) | "ios", "android", "desktop" |
apiVersion | string | * |
manifestVersion | enum | 2 |
categories | Array(string) | num items: min 1 → * |
currencies | Array(string) | num items: min 1 → * |
content | Object | {shortDescription: string, description: string} |
permissions | enum | |
domains | Array(string) | optional |
type | enum | "dapp", "walletApp", "webBrowser" |
params | Object | depend on the type |
visibility | string | "complete", "searchable", "deep" |
params when type = "dapp"
Params | Type | Requirements |
---|---|---|
dappUrl | string (URL) | * |
nanoApp | string | * |
dappName | string | * |
networks | Array (unique Object) | (chainID: number, nodeURL: string, currency: enum) |
params when type = "walletApp"
Params | Type | Requirements |
---|---|---|
any param | any | optional | * |
params when type = "webBrowser"
Params | Type | Requirements |
---|---|---|
webUrl | string (URL) | * |
webAppName | string | * |
currencies | Array (enum) | "ethereum", "bitcoin", ... |