forked from LiskArchive/app-registry
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnativetokens.json
120 lines (120 loc) · 4.05 KB
/
nativetokens.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
{
"$id": "",
"$schema": "",
"title": "Native tokens list",
"description": "List of all Klayr protocol compliant fungible native tokens to allow wallets and other third party tools to fetch metadata",
"type": "object",
"required": [
"tokens"
],
"properties": {
"tokens": {
"type": "array",
"items": {
"$ref": "#/$defs/token"
}
}
},
"$defs": {
"denomUnit": {
"type": "object",
"required": [
"denom",
"decimals"
],
"properties": {
"denom": {
"type": "string",
"description": "Supported denomination.",
"example": "beddows"
},
"decimals": {
"type": "integer",
"description": "The exponent over base 10 by which the denomination is a factor of the baseDenom. Example: 8 for LSK (1 LSK = 10^8 Beddows).",
"example": 0
},
"aliases": {
"type": "array",
"items": {
"type": "string",
"description": "Human friendly aliases for the denomination unit.",
"example": "Beddows"
}
}
}
},
"tokenLogoURI": {
"type": "object",
"required": [
"png",
"svg"
],
"properties": {
"png": {
"type": "string",
"format": "uri-reference",
"description": "URI to the PNG format of the token logo.",
"example": "https://klayr.xyz/logo.png"
},
"svg": {
"type": "string",
"format": "uri-reference",
"description": "URI to the SVG format of the token logo.",
"example": "https://klayr.xyz/logo.svg"
}
}
},
"token": {
"type": "object",
"required": [
"tokenID",
"tokenName",
"denomUnits",
"baseDenom",
"displayDenom",
"symbol"
],
"properties": {
"tokenID": {
"type": "string",
"description": "The universal identifier for the token within the Klayr ecosystem.",
"example": "0000000000000000"
},
"tokenName": {
"type": "string",
"description": "The name of the token. For example Klayr.",
"example": "Klayr"
},
"description": {
"type": "string",
"description": "A short description of the token.",
"example": "Default token for the entire Klayr ecosystem."
},
"denomUnits": {
"type": "array",
"items": {
"$ref": "#/$defs/denomUnit"
}
},
"baseDenom": {
"type": "string",
"description": "The base denomination unit of the token. Must be a 'denom' in denomUnits.",
"example": "Beddows"
},
"displayDenom": {
"type": "string",
"description": "The human friendly denomination unit of the token. Must be a 'denom' in denomUnits.",
"example": "lsk"
},
"symbol": {
"type": "string",
"description": "The symbol for the token.",
"example": "LSK"
},
"logo": {
"$ref": "#/$defs/tokenLogoURI"
}
}
}
}
}