Artists
Collection creators can format their collection data using the inscriptions.json
and meta.json
format below to be listed on all platforms using the standard
Steps
- Create your
inscriptions.json
andmeta.json
files in the format provided below - Add to the registry by creating a pull request including new collections that follow the standard
- After successfully opening a pull request, your files will be tested for compatibility with the main repo. If the test fails, click on "Details" to look into the test log for error messages. You might get a hint on what needs to be corrected within your pull request.
Tips
- Check out this file formatting tool
- Formatting can also easily be done in Visual Studio Code Editor. Open your .json with Visual Studio Code and press Shift+Alt+F.
.
├── ...
└── collections
└── [collection-name]
├── inscriptions.json
└── meta.json
{
"name": "", # inscription name
"inscription_icon": "", # (optional) collection cover inscription id
"icon": "", # (optional) collection cover icon url
"slug": "", # directory name
"description": "", # collection description
"twitter_link": "", # official twitter
"discord_link": "", # official discord
"website_link": "" # official website
}
[
{
"id": "", # inscription id
"meta": {
"name": "" # inscription name
}
},
...
]
Artists can assign unqiue traits to ordinals with attributes
[
{
"id": "",
"meta": {
"name": ""
"attributes": [
{
"trait_type": "", # trait category
"value": "", # trait value
},
...
]
}
},
...
]
Your meta.json file will look like this:
{
"name": "Planetary Ordinals",
"inscription_icon": "98da33abe2045ec1421fcf1bc376dea5beb17ded15aa70ca5da490f50d95a6d9i0",
"slug": "planetary-ordinals",
"description": "",
"twitter_link": "https://twitter.com/ordinalswallet",
"discord_link": "https://discord.com/invite/ordinalswallet",
"website_link": ""
}
Your inscriptions.json file will look like this:
[
{
"id": "af0b19432a676551223e300e7197348b7c225cb7b31d0d7c6e246e382cbf6f81i0",
"meta": {
"name": "Planetary Ordinal #11",
"attributes": [
{
"trait_type": "Background",
"value": "Sun sun",
},
{
"trait_type": "Holes",
"value": "rose blossom",
}
]
}
}
]
After succesfully opening a pull request, your metadata files will be auto-tested for compatibility with the main repo.
✅ Green check mark means there were no problems found and your files should be ready to be merged into the repo by the maintainer.
❌ Red mark means there were conflicts found in your file. Click on "Details" to see the autocheck log. In the log, the end of the "Run tests" section will give you a hint on what went wrong.
If the supply is lower than the amount of inscriptions in the inscriptions.json, the website may not list your whole collection.
On of the most common mistakes in jsons is having commas between a closing " and a closing } or ].
wrong:
javascript ..."example",}
correct:
javascript ..."example"}
Your meta.json and inscriptions.json should go into /ordinals-collections/collections/your-collection-name/... Ideally, "your-collection-name" and "slug" within the meta.json are identical. To correct the directory in your open pull request, simply go to "Edit" your jsons within it, and then look at the directory above the edit section. If you backspace on the filename you can edit the /directory entry too!
When UPDATING your collection metadata, please make sure you have updated/synchronized the repo fork your are creating the pull request for.
Please use THE SAME directory (and also "slug" in meta.json) as you used for your collection before. Otherwise your pull request will be conflicting with the main repo, and may require the maintainer to manually delete your old metadata before merging your new pull request.