Skip to content

Commit a3d6ac3

Browse files
authored
Update LSP-4-DigitalAsset-Metadata.md
1 parent 55e804a commit a3d6ac3

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

LSPs/LSP-4-DigitalAsset-Metadata.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ The linked JSON file SHOULD have the following format:
123123
},
124124
...
125125
],
126-
"icon": [ // multiple sizes of the same icon
126+
"icon": [ // SHOULD be used for LSP7 icons
127+
// multiple sizes of the same icon
127128
{
128129
"width": Number,
129130
"height": Number,
@@ -133,8 +134,10 @@ The linked JSON file SHOULD have the following format:
133134
},
134135
...
135136
],
136-
"images": [ // multiple images in different sizes, related to the DigitalAsset, image 0, should be the main image
137-
[ // array of different sizes of the same image
137+
"images": [ // COULD be used for LSP8 NFT art
138+
// multiple images in different sizes, related to the DigitalAsset, image 0, should be the main image
139+
// array of different sizes of the same image
140+
[
138141
{
139142
"width": Number,
140143
"height": Number,
@@ -146,7 +149,7 @@ The linked JSON file SHOULD have the following format:
146149
],
147150
[...]
148151
],
149-
"assets": [
152+
"assets": [ // SHOULD be used for any assets of the token (e.g. 3d assets, high res pictures or music, etc)
150153
{
151154
"hashFunction": 'keccak256(bytes)',
152155
"hash": 'string',
@@ -176,7 +179,7 @@ Example:
176179
{ title: 'Twitter', url: 'https://twitter.com/goldenpig123' },
177180
{ title: 'goldenpig.org', url: 'https://goldenpig.org' }
178181
],
179-
icon: [ // SHOULD be used for LSP7 icons
182+
icon: [
180183
{
181184
width: 256,
182185
height: 256,
@@ -185,7 +188,7 @@ Example:
185188
url: 'ifps://QmW5cF4r9yWeY1gUCtt7c6v3ve7Fzdg8CKvTS96NU9Uiwr'
186189
}
187190
],
188-
images: [ // SHOULD be used for LSP8 NFT art
191+
images: [ // COULD be used for LSP8 NFT art
189192
[
190193
{
191194
width: 1024,
@@ -198,7 +201,7 @@ Example:
198201
],
199202
... // more images
200203
],
201-
assets: [{ // SHOULD be used for anything that can be added "on top" of the token (e.g. 3d assets or high res pictures or music)
204+
assets: [{
202205
hashFunction: 'keccak256(bytes)',
203206
hash: '0x98fe032f81c43426fbcfb21c780c879667a08e2a65e8ae38027d4d61cdfe6f55',
204207
url: 'ifps://QmPJESHbVkPtSaHntNVY5F6JDLW8v69M2d6khXEYGUMn7N',

0 commit comments

Comments
 (0)