Deploy a Capped POL721 NFT Minting Contract to Polygon (formerly Matic) Mainnet

How to deploy an NFT minter on the Polygon Mainnet with a name and a symbol and a cap on the number of NFTs that can be minted.

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:

  1. The name of the NFT collection. Replace 'My NFT Collection' with that. For example you could call it 'My Awesome Art'.

  2. The symbol of the token. Replace 'MNFTC' with that. For example you could call it 'MAA'.

  3. The cap on the number of NFTs that can be minted. Replace 100 with that. For example you could cap it at 10.

  4. 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)