To use this method, you need an idexo API key.
Assuming you have installed the SDK, you can use the following code in your file (instructions on modifying it follows):
const ido = require('idexo-sdk')const image = ('./pathtoyourimage.imgfiletype')ido.Multi.deployERC721ArEth('NFToken Name', 'SYMBOL', 'FirstEditionName', 'FirstEditionDescription', image, apiKey, attributes).then(res => console.log(res.data)
To customize the above code you need:
An image that you want to upload, with the path to it. For example if you had an image someimage.png in the same directory as your index.js file, then image path would be './someimage.png'
The name of the token for the NFT Minter. Replace 'NFToken Name' with that. For example you could call it 'Awesome NFT'.
The symbol of the token. Replace 'SYMBOL' with that. For example you could call it 'ANFT'.
The name of the first NFT you want to mint. Replace 'FirstEditionName' wit that. For example you could call it 'First'.
The description of the first NFT you want to to mint. Replace 'FirstEditionDescription' with that. For example you could use 'My First Awesome NFT'.
Your idexo API key.
Using the above examples, your code would become:
const ido = require('idexo-sdk')const image = ('./sampleimage.png')ido.Multi.deployERC721ArEth('Awesome NFT', 'ANFT', 'First', 'My First Awesome NFT', image, apiKey).then(res => console.log(res.data)
The method in summary is:
ido.Multi.deployERC721ArEth(name, symbol, firstEditionName, firstEditionDescription, imagePath, apiKey, attributes)