Resolved Creating an NFT eith a .mp3 file embeded??

TrevorGage

New member
I am interested in finding out if there is a way to embed an audio file within an NFT to create limited edition releases of album singles and other use cases for musicians.reverse phone lookup nba reddit pcpartpicker

Is it possible to mint an asset with an mp3 file that can be read by a smart contract or game software??
 
Last edited:

Esther

Enjineer
Staff member
Hi there TrevorGage,

At the moment, this is not possible to do. ERC-1155 assets are created and formed in the use of metadata, and there's only certain amount that you can do with metadata, which is how you want your asset to look and display in the Enjin Wallet, EnjinX and on other sevices that support ERC-1155 blockchain assets.

I would recommend viewing the following which goes in-depth about what can be created with the assets: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1155.md

Best regards,
Esther
 

miezekatze

Active member
As Esther mentioned, you could put the url location of the .mp3 file into the meta-data json file. This would work identically to the asset image and description. The .mp3 wouldn't be embedded into the asset in the direct sense, but there would be an accessible link to the file that anyone could then download and import into their own applications.

The .json file would look something like this:


Code:
{
    "name": "Asset Name",
    "description": "Lorem ipsum...",
    "image": "https:\/\/{your domain}\/{your image}.png",
    "audio": "https:\/\/{your domain}\/{your audio file}.mp3"
}
 

PearlAdkins

New member
This is a very informative blog for me. I am very much benefited after reading this blog. Keep sharing. there's only certain amount that you can do with metadata, which is how you want your asset to mcdvoice look and display in the Enjin Wallet, EnjinX and on other sevices that support ERC-1155 blockchain assets.I am interested in finding out if there is a way to embed an audio file within an NFT to create limited edition
 
Last edited:
Top