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')ido.Polygo.deployCappedPOL721('My NFT Collection', 'MNFTC', 100, apiKey).then(res => console.log(res.data))
To customize the above code you need:
The name of the NFT collection. Replace 'My NFT Collection' with that. For example you could call it 'My Awesome Art'.
The symbol of the token. Replace 'MNFTC' with that. For example you could call it 'MAA'.
The cap on the number of NFTs that can be minted. Replace 100 with that. For example you could cap it at 10.
Your idexo API key.
Using the above examples, your code would become:
const ido = require('idexo-sdk')ido.Polygon.deployCappedPOL721('My Awesome Art', 'MAA', 10, apiKey)
The method in summary is:
ido.Polygon.deployCappedPOL721(name, symbol, cap, apiKey)