cXc Releases Music NFT Schema Standard built on Atomic Assets 🀘🎸

in World of Music β€’ 3 years ago (edited)

We built this standard to use in our Music NFT creator coming to cXc.world. Our NFT creator will allow you to fill out a form and mint the NFT to your own collection, or, if you qualify, you can mint to our exclusive collection.

So why did we make a whole recommendation?

Here at cXc, we like to get down to the nitty-gritty of how things work. That’s why we invented a whole new blockchain curation system to run cXc.world instead of using an existing algorithm.

We carried this love over to the NFT scene to offer anyone - project, band, or individual - some suggestions to help structure the data attached to a Music NFT. This will make it easier for low-techy artists to mint their NFTs. Of course, we’ll make it even easier for no-techs to mint using our NFT creator, but releasing the standard separately invites all levels and needs to interact with cXc, Atomic Assets, and the WAX ecosystem. A Win-Win-Win!

Below you’ll find cXc’s Music NFT Recommendation.

This recommendation is being updated as new needs are presented, but this article is not, so check out cXc’s Music NFT Recommendation on Github for the latest + greatest music NFTs.

Screen Shot 2021-06-15 at 4.29.32 PM.png


cXc Music NFT Schema Recommendation 🎸

The cXc Music NFT Schema serves as a recommendation for any individual, collection, or application to publish a music NFT.

The benefits of using this schema include forward compatibility (Geotags) monetizing NFT plays with traditional platform players, infinite credits and links, and more.

This Schema exists within Atomic Asset's NFT standard on the atomicassets contract.

Feel free to use or modify this schema for your own purposes.

Summary πŸ—žοΈ

This standard includes:

Name of the NFT (Can be different than track title)

One audio file
One video file
Three images [Main, Back, and Promo]

Title [If different than name]
Album name
Track # [If it's just one track]

Any number of custom credits
Any number of custom platform links

ISO Country code
Readable locale
Pin as GeoJson Point

License
Rarity

Technical Summary βš™οΈ

All media fields use IPFS.

All other info fields are strings (except "track" is int64)

String arrays are used to store unlimited Credits and Platform links.
Ex.
credits ["Band":"Boaty & The Boats","Bassist: Tim Leary", "Vocalist: Boaty McBoatface"]
platform ["youtube.com/v/gf75ja5","soundcloud.com/my/song"] or ["Soundcloud: soundcloud.com/my/song"]

cXc Music NFT Schema Recommendation Standard (1.0.0) for Atomic Assets on AtomichubLicense is for codes like "CC-BY", or possibly declaring some privilege grant upon receiving NFT.

Geo 🌍

ISO country codes (ISO 3166-1 alpha-3)

Locale string intended to be used in this format "City, County, State" or corresponding values for a given locality

geotag is a GeoJson point stored as a string

Field nameTypeDescription
namestringNFT name
imgstringPrimary image / Cover image
audiostringAudio file IPFS hash
videostringMusic video file IPFS has
backimgstringBack cover of album / single
promostringExtra image for promo poster, QR code, etc
titlestringThe actual title of the track
albumstringTitle of the album
trackint64Number of the track on the album
aboutstringDescription field with info about
creditsstring[]Array of song credits
youtubestringYoutube URL
spotifystringSpotify URL
soundcloudstringSoundcloud URL
platformsstring[]How scarce is this NFT?
nationstringThree-letter ISO (USA, BRA, AUS, etc)
localestringConcatanation of lower locales (State, County, City in USA)
geotagstringGeoJSON Point stored as string
licensestringDeclare license if needed, (CC0, etc)
raritystringHow scarce is this NFT?

To use this Standard

Paste the following array into the idata field using the Atomic Assets createschema action to create your own schema on Atomic Assets, and then create template from the schema for each NFT you release. Because this standard uses the string[] (string array) type, it's currently not possible to use directly on Atomichub UI, but should be in the future.

ℹ️ Important

Using this schema does not mean that each template must have every field filled,
but you can only choose from fields in your future templates. You may add fields to the schema later, but not remove them. New fields will appear at the end, thus, best modify this standard to your needs before deploying.

cXc Music Schema πŸ•Ί

[
  {
    "name": "name",
    "type": "string"
  },
  {
    "name": "img",
    "type": "image"
  },
  {
    "name": "audio",
    "type": "ipfs"
  },
  {
    "name": "video",
    "type": "ipfs"
  },
  {
    "name": "backimg",
    "type": "image"
  },
  {
    "name": "promo",
    "type": "image"
  },
  {          
    "name": "title",
    "type": "string"
  },
  {
    "name": "album",
    "type": "string"
  },
  {
    "name": "track",
    "type": "int64"
  },
  {
    "name": "about",
    "type": "string"
  },
  {
    "name": "credits",
    "type": "string[]"
  },
  {
    "name": "youtube",
    "type": "string"
  },
  {
    "name": "spotify",
    "type": "string"
  },
  {
    "name": "soundcloud",
    "type": "string"
  },
  {
    "name": "platforms",
    "type": "string[]"
  },
  {
    "name": "nation",
    "type": "string"
  },
  {
    "name": "locale",
    "type": "string"
  },
  {
    "name": "geotag",
    "type": "string"
  },
  {
    "name": "license",
    "type": "string"
  },
  {
    "name": "rarity",
    "type": "string"
  }
]

Create a Template πŸ› οΈ πŸ–ΌοΈ.

Use this example (also below) to create a template you can use to drop your own Music NFTs using tools like Atomichub and Neftyblocks.

Modify this schema πŸ› οΈ

Change any field you wish when making your own schema

Suggestions:

Artist - If you'd rather have your name here than in credits
Multiple Audio fields - Duplicate the audio fields to include all songs on an album (DYOR on support)
Metadata - Add custom metadata like the key, BPM, time, whatever you want

If you'd rather include all of your links in the Platform field, you can remove the Spotify, Soundcloud, and Youtube field.

Removing Youtube will also disable Youtube player from showing up on Atomichub and likely other marketplaces.

Power of the Schema ✨ πŸ§™β€β™‚οΈ

There is no magical benefit (yet) of using this standard, just practical ones. Youtube plays can bring extra revenue, as will the links to other players. You may credit all involved, and geographic data opens up new use cases for your NFT.

In the future it's possible for a mapp / dapp (like cXc) to allow users to register their own schemas that adhere to this standard, creating a Music-NFT exclusive platform that doesn't rely on accounts or collection names alone.

Evolution of the Schema πŸš€ πŸ›Έ

This schema will grow and evolve. Feel free to open issues on this repo with your suggestions.

If you translate to another blockchain or NFT standard, please send a pull request adding a file named .md in the main directory containing the code needed to deploy, or open an issue with the code and I can update the repo if you prefer.

Music NFT Template for Atomic Assets

Here is an example of how to format a template according to this recommendation. You will see not every field is used, as you can use only what you need.

To do this you will have to use the atomicassets => createtempl action.

View this template on Atomichub

[
  {
    "key": "name",
    "value": [
      "string",
      "Bluebirds πŸ₯‡"
    ]
  },
  {
    "key": "img",
    "value": [
      "string",
      "QmP1gc43EsmXoaYuT2XPZFWx9SDKk9JxAzpPMP4AUm3aof"
    ]
  },
  {
    "key": "promo",
    "value": [
      "string",
      "QmYzu7Dz7LqZP3jq4zmt84rpmjWm2AfhH1SF4Et5LbxVJy"
    ]
  },
  {
    "key": "audio",
    "value": [
      "string",
      "QmWGFx5epoiQBJ3CwBQ3VpNKNJ5VFoKoKDbXExiNLF5zAQ"
    ]
  },
  {
    "key": "about",
    "value": [
      "string",
      "The quest of a soul opening it’s wings, Bluebirds is a soul’s reflection on the path through this marvelous galaxy. Over a classy beat Douglas expresses an egoic journey, and the desire to look past it while seeking meaning beyond science and religion."
    ]
  },
  {
    "key": "credits",
    "value": [
      "STRING_VEC",
      ["Artist: Sir Douglas Fresh","Beat: Blue Birds by Ours Samplus, live-mixed by Scarfinger"]
    ]
  },
  {
    "key": "youtube",
    "value": [
      "string",
      "youtube.com/watch?v=trpj6qmLflk"
    ]
  },
  {
    "key": "soundcloud",
    "value": [
      "string",
      "soundcloud.com/sirdouglasfresh/bluebirds-beat-by-ours-samplus-live-mix-by-scarfinger"
    ]
  },
  {
    "key": "platforms",
    "value": [
      "STRING_VEC",
      ["music.cxc.world/?id=1948"]
    ]
  },  
  {
    "key": "album",
    "value": [
      "string",
      "The Evolution of Sir Douglas Fresh (Mixtape)"
    ]
  },
  {
    "key": "nation",
    "value": [
      "string",
      "USA"
    ]
  },
  {
    "key": "locale",
    "value": [
      "string",
      "Accident, Garrett County, MD"
    ]
  },
  {
    "key": "geotag",
    "value": [
      "string",
      "[39.555,-79.240]"
    ]
  },
  {
    "key": "rarity",
    "value": [
      "string",
      "Epic"
    ]
  }
].  

cxc.world music nft seal.gif


πŸ’₯ FIND OUT MORE ABOUT cXc πŸ’₯


Current X Change is dedicated to harmonizing Humans, Collectives, and Gaia. Our media Mapps are just the start. As we refine Purple, we also seek to redefine what it means to come together as humans and co-create. We hope you'll enjoy the tools already here, and are infinitely stoked for what the future holds.

πŸ—ΊοΈ Experience cXc.world 🌎

πŸ‘οΈ Step into our vision

πŸŽ₯ Add Music to cXc.world

πŸ’Έ Get to know our Economy


πŸ’°BUY & TRADE PURPLE, BLUx πŸ“ˆ


🟣 PURPLE/WAX ~~ πŸ”΅ BLUx/WAX ~~ πŸŸ£πŸ”΅ PURPLE/BLUx

Get specifics about these tokens in our Economic Brief


🎁 OFFICIAL cXc MERCH πŸ›οΈ


πŸ‘• Shop cXc High-fashion (Made in πŸ‡¨πŸ‡¦)

πŸ”΄ cXc Stickers, shirts + More on Redbubble


Follow cXc on Social Media πŸ“±πŸŒŽ



πŸ’°πŸ€‘ Swaps (Instant Liquidity) 🟑🟣 WAX/PURPLE ~~ πŸŸ‘πŸ”΅ WAX/BLUx


What are BLUx and PURPLE? Find out in our Purple Explainer

(cXc) Roadmap πŸ›£οΈ