薄荷NFT系列从0到9999
我创建了我的集合,收藏集从0到9999,但是当我从数字1而不是
我的json文件的示例造成薄荷
{
"name": " #0",
"description": "NFT TEST",
"image": "ipfs://NewUriToReplace/0.png",
"attributes": [
{
"trait_type": "Background",
"value": "Orange"
},
{
"trait_type": "Eyeball",
"value": "Red"
},
{
"trait_type": "Eye color",
"value": "Yellow"
}
],
"dna": "51dde0558661708099f7575da644987b7b746792",
"edition": 0,
"external_url": "https://evtest.com",
"date": 1650569986394,
"compiler": "EV Compiler"
},```
i created my collection and the collection starts from 0 to 9999 but when i mint it mints from number 1 not 0
example of my json file
{
"name": " #0",
"description": "NFT TEST",
"image": "ipfs://NewUriToReplace/0.png",
"attributes": [
{
"trait_type": "Background",
"value": "Orange"
},
{
"trait_type": "Eyeball",
"value": "Red"
},
{
"trait_type": "Eye color",
"value": "Yellow"
}
],
"dna": "51dde0558661708099f7575da644987b7b746792",
"edition": 0,
"external_url": "https://evtest.com",
"date": 1650569986394,
"compiler": "EV Compiler"
},```
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因此,创建元数据和NFTS的图像不会从0到9999开始,我修改了“ main.js”文件,以从1到10000开始。只需在文件夹中查找此文件,要创建NFT,请打开它,您必须查找以下代码的一部分:
现在让“让i =网络== network.sol?sol?0:0;”的部分;是用1替换第二个0。这就是代码的外观。
这样,NFTS的创建将从1开始,以10,000结束。
So that the creation of the metadata and images of the NFTs does not start at 0 to 9999, I modified the "main.js" file so that it starts from 1 to 10000. Just look for this file in the folder that makes it possible to create the NFTs, open it and you have to look for a section of the code that is the following:
Now let the part where "let i = network == NETWORK.sol ? 0 : 0;" is replace the second 0 with a 1. This is how the code should look.
In this way the creation of the NFTs will start at 1 and end at 10,000.