forked from LiskArchive/app-registry
-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.json
180 lines (180 loc) · 7.56 KB
/
app.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
{
"$id": "",
"$schema": "",
"title": "Project title",
"description": "Project description.",
"type": "object",
"required": [
"chainName",
"chainID",
"genesisURL",
"networkType",
"projectPage",
"logo",
"backgroundColor",
"serviceURLs",
"explorers"
],
"properties": {
"displayName": {
"type": "string",
"description": "Application display name for the wallets.",
"example": "Klayr"
},
"chainName": {
"type": "string",
"description": "Chain name as registered on the network.",
"example": "klayr_mainchain"
},
"chainID": {
"type": "string",
"description": "Chain ID as registered on the network.",
"example": "00000000"
},
"genesisURL": {
"type": "string",
"format": "uri-reference",
"description": "URI to the network genesis block.",
"example": "https://downloads.klayr.xyz/klayr/mainnet/genesis_block.json.tar.gz"
},
"networkType": {
"type": "string",
"description": "Network for which this configuration is specified. Must be one of 'mainnet', 'testnet' or 'devnet'.",
"example": "mainnet"
},
"projectPage": {
"type": "string",
"format": "uri-reference",
"description": "URL to the project's homepage.",
"example": "https://klayr.xyz"
},
"appPage": {
"type": "string",
"format": "uri-reference",
"description": "URL to the blockchain application's frontend, if exists.",
"example": "https://klayr.xyz"
},
"logo": {
"$ref": "#/$defs/logoURI"
},
"backgroundColor": {
"type": "string",
"description": "Default background color to be used in the application management and exploration screens of the Lisk wallets. Must be of the format '#rrggbb' (hex values).",
"example": "#f7f9fb"
},
"serviceURLs": {
"type": "array",
"items": {
"$ref": "#/$defs/serviceURL"
}
},
"explorers": {
"type": "array",
"items": {
"$ref": "#/$defs/explorer"
}
},
"appNodes": {
"type": "array",
"items": {
"$ref": "#/$defs/appNode"
}
}
},
"$defs": {
"appNode": {
"type": "object",
"description": "Specifies endpoints to connect to the nodes. Please note, for the mainnet and testnet, the deployments need to be secured with TLS/SSL (i.e. https/wss) and the publicKey also needs to be specified. For the remaining networks, the deployments may or may not be secured.",
"required": [
"url",
"maintainer"
],
"properties": {
"url": {
"type": "string",
"format": "uri-reference",
"description": "URI to connect and query to the node directly.",
"example": "ws://node.klayr.xyz:7887"
},
"apiCertificatePublicKey": {
"type": "string",
"description": "Public key corresponding to the SSL/TLS certificate for the API endpoints.",
"example": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArxd93uLDs8HTPqcSPpxZ\nrf0Dc29r3iPp0a8filjAyeX4RAH6lWm9qFt26CcE8ESYtmo1sVtswvs7VH4Bjg/F\nDlRpd+MnAlXuxChij8/vjyAwE71ucMrmZhxM8rOSfPML8fniZ8trr3I4R2o4xWh6\nno/xTUtZ02/yUEXbphw3DEuefzHEQnEF+quGji9pvGnPO6Krmnri9H4WPY0ysPQQ\nQd82bUZCk9XdhSZcW/am8wBulYokITRMVHlbRXqu1pOFmQMO5oSpyZU3pXbsx+Ox\nIOc4EDX0WMa9aH4+snt18WAXVGwF2B4fmBk7AtmkFzrTmbpmyVqA3KO2IjzMZPw0\nhQIDAQAB\n-----END PUBLIC KEY-----"
},
"maintainer": {
"type": "string",
"description": "Maintainer details of the node.",
"example": "Lightcurve GmbH"
}
}
},
"explorer": {
"type": "object",
"required": [
"url",
"txnPage"
],
"properties": {
"url": {
"type": "string",
"format": "uri-reference",
"description": "URI endpoint to the explorer's homepage.",
"example": "https://liskscan.com/"
},
"txnPage": {
"type": "string",
"description": "URI endpoint to the explorer's transactions page.",
"example": "https://liskscan.com/transactions"
}
}
},
"logoURI": {
"type": "object",
"required": [
"png",
"svg"
],
"properties": {
"png": {
"type": "string",
"format": "uri-reference",
"description": "URI to the PNG format of the application logo.",
"example": "https://klayr.xyz/logo.png"
},
"svg": {
"type": "string",
"format": "uri-reference",
"description": "URI to the SVG format of the application logo.",
"example": "https://klayr.xyz/logo.svg"
}
}
},
"serviceURL": {
"type": "object",
"description": "Specifies the HTTP(S) and WSS(S) endpoints to connect to the corresponding Klayr Service deployments. Please note, for the mainnet and testnet, the deployments need to be secured with TLS/SSL (i.e. https/wss) and the publicKey also needs to be specified. For the remaining networks, the deployments may or may not be secured.",
"required": [
"ws",
"http"
],
"properties": {
"ws": {
"type": "string",
"format": "uri-reference",
"description": "WS(S) endpoint to access Klayr Service API against the blockchain application. In case of mainnet and testnet deployments, a WSS URL is required.",
"example": "https://service.klayr.xyz"
},
"http": {
"type": "string",
"format": "uri-reference",
"description": "HTTP(S) endpoint to access Klayr Service API against the blockchain application. In case of mainnet and testnet deployments, a HTTPS URL is required.",
"example": "wss://service.klayr.xyz"
},
"apiCertificatePublicKey": {
"type": "string",
"description": "Public key corresponding to the SSL/TLS certificate for the API endpoints.",
"example": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArxd93uLDs8HTPqcSPpxZ\nrf0Dc29r3iPp0a8filjAyeX4RAH6lWm9qFt26CcE8ESYtmo1sVtswvs7VH4Bjg/F\nDlRpd+MnAlXuxChij8/vjyAwE71ucMrmZhxM8rOSfPML8fniZ8trr3I4R2o4xWh6\nno/xTUtZ02/yUEXbphw3DEuefzHEQnEF+quGji9pvGnPO6Krmnri9H4WPY0ysPQQ\nQd82bUZCk9XdhSZcW/am8wBulYokITRMVHlbRXqu1pOFmQMO5oSpyZU3pXbsx+Ox\nIOc4EDX0WMa9aH4+snt18WAXVGwF2B4fmBk7AtmkFzrTmbpmyVqA3KO2IjzMZPw0\nhQIDAQAB\n-----END PUBLIC KEY-----"
}
}
}
}
}