Speed up your minting
How to speed up your minting using multiple company minter wallets.
The problem: sequential transactions
Transactions on a blockchain are always executed sequentially for a given Wallet. If one wallet triggers 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:
Request Endpoint: reference
GET /api/wallets
Note that this call has to be executed on the NFT-API (business) environment!
It returns all the wallets for all the chains used for NFT minting of your NFTs.
To add more wallets, and speed up minting, you can use the following endpoint:
Request Endpoint: reference
POST /api/wallets
{
"type": "COMPANY_MINTER",
"chain": "MATIC"
}
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.
Updated 12 months ago