How to speed up your minting process?

The problem: sequential transactions

Transactions on a blockchain are always executed sequentially for a given Wallet. If one wallet triggers a 1000 transactions, then these 1000 transactions are executed sequentially on the blockchain (the second transaction has to wait for the first one, and so on).

An NFT mint is also a "transaction" on a blockchain, so these fall under the same restriction. This therefore means that doing "bursts" of NFT minting (e.g. minting +1000 NFTs at the same time), will take some time to execute (and can potentially fail).

The solution: multiple minter wallets

To circumvent this problem, you can use multiple wallets to execute the NFT minting-transactions. This will circumvent the sequential-restriction of using only one wallet and speed up the process.

Steps

As an NFT-API customer, you are given by default one minter wallet. This wallet will be used to execute the minting transactions.

You can request your minter wallet by performing the following call:

GET https://api-business.venly.io/api/wallets

Note that this call has to be executed on the NFT-API (business) enviroment!

It returns all the wallets for all the chains that are used for NFT minting of your NFTs.

To add more wallets, and to speed up minting, you can use the following:

POST https://api-business.venly.io/api/wallets
{
  "type": "COMPANY_MINTER",
  "chain": "AVAC"
}

From this moment on, that (extra) minter wallet will be used in the minting process. When there are more minter wallets, and a minting request is done, our algorithm will select a minter wallet to execute the NFT-mint transaction in a round robin style.

Last updated