Solana Token Creator ‐ Metadata URI - Kilopicoin/kilopiWiki GitHub Wiki
Metadata URI field requires a correct https:// link to the Metadata of the token. The link should point directly to a json file that contains the metadata information properly. Here is an example : https://arweave.net/vz-kY6da1xZI1raW4khs_aKLmV6N5vhONT5mPhoH02Y
There are 2 main steps to handle the Metadata URI step;
1- Preparing the Metadata Json file.
There are 2 examples below. One of them is the simplest Metadata Json file and the other one is one of the most complex json files. The fields in the simple one is a must to fill. Json file can not contain less fields than this simple one. Adding more fields and making it complex is an option for the token creator. Please make your decision for the content of the Metadata Json file, create it on your desktop and be ready to upload it. ( myMetaData.json )
P.S: To prepare the Metadata json file, you need a proper link to your token's logo. Please try to choose and option that can keep your logo nearly forever. Here are some optionsto upload your logo to;
- Centralized Storage Providers like Google, Amazon, Microsoft etc.
- Decentralized Storage Providers like IPFS, Arweave etc.
- Your own servers.
Please do not forget that the link should forward to image file directly like in this example; https://arweave.net/8UX6tPYHxOJPKtlnUvnDK9ziUSw2iyHUhNNG4DnNenU
Simplest Metadata Json File; ///////// STARTS HERE { "name": "My Token", "symbol": "MT", "image": "https://arweave.net/your_image_hash", "description": "A simple token on Solana." } ///////// ENDS HERE
Complex Metadata Json File; ///////// STARTS HERE { "name": "My Awesome Token", "symbol": "MAT", "image": "https://arweave.net/your_image_hash", "description": "This is a revolutionary token that will change the world!", "seller_fee_basis_points": 500, "creators": [ { "address": "YOUR_CREATOR_ADDRESS_1", "share": 60, "verified": true }, { "address": "YOUR_CREATOR_ADDRESS_2", "share": 40 } ], "attributes": [ { "trait_type": "Category", "value": "Utility" }, { "trait_type": "Network", "value": "Solana" } ], "collection": { "name": "My Awesome Token Collection" }, "properties": { "files": [ { "uri": "https://arweave.net/your_other_file_hash", "type": "video/mp4" } ], "category": "utility" }, "external_url": "https://example.com", "data": { "custom_field_1": "some value", "custom_field_2": 42 }, "edition": 1, "background_color": "#ffffff",
"website": "https://example.com", "twitter": "https://twitter.com/mytoken", "telegram": "https://t.me/mytokenofficial", "discord": "https://discord.gg/mytoken", "instagram": "https://www.instagram.com/mytoken", "medium": "https://medium.com/@mytoken", "reddit": "https://www.reddit.com/r/mytoken", "github": "https://github.com/mytoken",
"coingecko": "https://www.coingecko.com/en/coins/my-token", "coinmarketcap": "https://coinmarketcap.com/currencies/my-awesome-token/",
"coingecko_id": "your-coingecko-id", "coinmarketcap_id": "your-coinmarketcap-id",
"coingeckoId": "your-coingecko-id", "coinmarketcapId": "your-coinmarketcap-id",
"team": [ { "name": "John Doe", "title": "CEO", "bio": "Bio of John Doe", "url": "https://example.com/team/john-doe", "social": { "twitter": "https://twitter.com/johndoe" } }, { "name": "Jane Smith", "title": "CTO", "bio": "Bio of Jane Smith", "linkedin": "https://www.linkedin.com/in/janesmith" } ],
"privacy_policy": "https://example.com/privacy", "terms_of_service": "https://example.com/terms" } ///////// ENDS HERE
- Uploading it to a proper https address where the Metadata Json file can live forever.
You can upload the json file wherever you prefer. Please try to choose and option that can keep the file nearly forever. Here are some options;
- Centralized Storage Providers like Google, Amazon, Microsoft etc.
- Decentralized Storage Providers like IPFS, Arweave etc.
- Your own servers.
Please do not forget that the link should forward to json file directly like in this example; https://arweave.net/vz-kY6da1xZI1raW4khs_aKLmV6N5vhONT5mPhoH02Y