Batch Minting XENTurbo Miner Gas Limit Optimization Instructions
(Ethereum)
1. XEN Minting Optimization Solution
1.1 Overview
After multiple adjustments and modifications by the CryptoCell Labs team, XENTurbo Miner not only provides huge Savingss compared to other batch minting solutions on the market, but also saves gas fees compared to the official XENFT minting approach. XENTurbo Miner minimizes the quantity of information transported, ensures the function, and streamlines the extraction contract, all of which reduce the amount of gas used. Furthermore, the idea behind XENTurbo's notion of "Claiming and Re-Minting" is to decrease the amount of contract calls by combining the minting and claiming processes, while at the same time reducing gas consumption on the chain by limiting hot access. The test results demonstrate that this feature can save gas fees by more than 75%.
1.2 Savings Logic Diagram
2. XENTurbo Miner Contract Highlights
2.1 Low Gas Cost
Taking 100VMUs as an example, the comparison between XENTurbo Miner and the official XENFT is as follows:
Batch 100 VMUs Comparison | Batch Minting | Batch Minting | Batch Claiming | Batch Claiming | Batch ReMinting | Batch ReMinting | Batch Claiming and ReMinting | Batch Claiming and ReMinting |
---|---|---|---|---|---|---|---|---|
Gas | ETH | Gas | ETH | Gas | ETH | Gas | ETH | |
Official XENFT Gas Consumption | 19,143,335 | 0.28715 | 5,008,201 | 0.07512 | N/A | N/A | N/A | N/A |
XENTurbo Miner Gas Consumption | 18,962,868 | 0.28444 | 4,515,100 | 0.06773 | 15,133,725 | 0.22701 | 6,381,996 | 0.09573 |
Difference Value | 180,467 | 0.00271 | 493,101 | 0.00740 | 4,009,610 | 0.06014415 | 17,769,540 | 0.26654 |
Saving ratio compared to the official XENFT | 0.94% | 0.94% | 9.85% | 9.85% | 20.95% | 20.95% | 73.58% | 73.58% |
2.2 High Upper Limit of a Single VMUs
After testing, it was discovered that the XENTurbo Miner contract is substantially more capable of supporting a single VMU than the standard XENFT and other batch minting tools.
Funtions | Mint | Claim | Create Empty Slots | Empty Slots Re-Mint | Claim and Re-Mint |
---|---|---|---|---|---|
Tested Max VMUs | 156 | 537 | 592 | 162 | 404 |
Max VMUs supported by the client | 128 | 350 | 500 | 150 | 300 |
2.3 Low Average Gas Consumption
The average Gas/VMU consumption of the XENTurbo Miner is lower when the gas fee is low and the upper limit of VMUs is high. The following is an example of a 100VMUs minting batch:
Funtions | Mint | Claim | Empty Slots Re-Mint | Claim and Re-Mint |
---|---|---|---|---|
XENFT average Gas/VMU consumption | 192,369 | 50,265 | 192,369 | 242,635 |
CoinTool average Gas/VMU consumption | 189,669 | 44,986 | 151,665 | 64,710 |
XENTurbo Miner average Gas/VMU consumption | 189,317 | 44,694 | 151,176 | 62,227 |
The following is a transaction example of each function of different batch tools (VMUs is 100). Transaction hashes not noted are test network Goerli.
Mint
Official XENFT:0xd5f5a679a36e946c787b214295ab65c7ffbe53b11b6b1da057a7985b98dbb88d(Mainnet)
CoinTool:0xe803ca988bec46a61501b3c19b98726959ae9be810ad922780dc87d50ec96077
XENTurbo Miner:0xee04ba0aba43d7d193bc5022fd8b135920cf25df00f7f60e2c5de766bea7b85c
Claim
Official XENFT:0x5212061a9864f75ee50a740c1d877046a4f43f936c5fa33821775f19fffb966f
CoinTool:0xfc1e84975be7a5821d087d9e04775c5fe8e201fe631855a8dd624256c41cb627
XENTurbo Miner:0xf1efae2f9df9f42ee5bbbe51387d1659a34b6c024de1c7048e7411e9d8360a36
Re-Mint
Official XENFT:0xd5f5a679a36e946c787b214295ab65c7ffbe53b11b6b1da057a7985b98dbb88d(Mainnet)
CoinTool:0xc943ffa5f3e2b12f307d704645cad1d695e6597d87de772d2c2bb8a3c675ff4c
XENTurbo Miner:0x2500e44190b49cc39717c7f3bd6d5d0808b44671be8eea1fffa7078003a9e1dc
Claim and Re-Mint
Official XENFT:Gas fee for minting and claiming
CoinTool:0xffeeec135ad83c4e295cb3f5377aee06d4fe2dedd22494696d1213bd77cd0163
XENTurbo Miner:0x966c03c19768005c4f290ca044053e04f0a518829a9f489f9c52968a2a0fc4f8
3. Comparison of Different VMUs
3.1 Minting Comparison
Mint VMUs | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
---|---|---|---|---|---|---|---|---|---|---|
XENFT Gas Consumption | 2,109,007 | 4,002,725 | 5,896,446 | 7,790,171 | 9,663,878 | 11,577,632 | 13,472,348 | 15,336,622 | 17,227,542 | 19,236,945 |
XENTurbo Miner Gas Consumption | 1,941,722 | 3,829,485 | 5,717,251 | 7,605,019 | 9,492,793 | 11,380,567 | 13,268,343 | 15,156,122 | 17,043,908 | 18,931,692 |
For the case, please refer to the second part of the transaction hash
3.2 Claim Comparison
Claim VMUs | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
---|---|---|---|---|---|---|---|---|---|---|
XENFT Gas Consumption | 552,974 | 1,050,015 | 1,547,066 | 2,057,815 | 2,541,213 | 5,026,506 | ||||
XENTurbo Miner Gas Consumption | 487,093 | 929,435 | 1,371,550 | 1,813,703 | 2,255,969 | 2,698,248 | 3,140,800 | 3,585,278 | 4,028,024 | 4,469,385 |
For the case, please refer to the second part of the transaction hash
3.3 Re-Mint Comparison
Re-Mint VMUs | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
---|---|---|---|---|---|---|---|---|---|---|
XENFT Gas Consumption | 2,109,007 | 4,002,725 | 5,896,446 | 7,790,171 | 9,663,878 | 11,577,632 | 13,472,348 | 15,336,622 | 17,227,542 | 19,236,945 |
XENTurbo Miner Gas Consumption | 1,555,989 | 3,062,636 | 4,569,294 | 6,075,971 | 7,582,664 | 9,089,374 | 10,596,423 | 12,103,800 | 13,610,672 | 15,117,553 |
For the case, please refer to the second part of the transaction hash
3.4 Claim and Re-Mint Comparison
Claim and Re-Mint VMUs | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
---|---|---|---|---|---|---|---|---|---|---|
XENFT Gas Consumption | 2,661,981 | 5,052,740 | 7,443,512 | 9,847,986 | 12,205,091 | 11,577,632 | 13,472,348 | 15,336,622 | 17,227,542 | 24,263,451 |
XENTurbo Miner Gas Consumption | 672,692 | 1,289,169 | 1,905,661 | 2,522,165 | 3,138,689 | 3,755,229 | 4,372,108 | 4,989,316 | 5,606,018 | 6,222,730 |
For the case, please refer to the second part of the transaction hash
4. Batch Tool Comparison
When compared to other batch minting tools like CoinTool, each function of XENTurbo Miner—minting, claiming, re-minting, and claiming and re-minting—consumes less Gas. The following table shows the gas fee Savingss of XENTurbo Miner in comparison to CoinTool when minting 100 VMUs.
Funtions | Mint | Claim | Empty Slots Re-Mint | Claim and Re-Mint |
---|---|---|---|---|
CoinTool Gas Consumption | 18,966,859 | 4,498,623 | 15,166,514 | 6,470,978 |
XENTurbo Miner Gas Consumption | 18,931,692 | 4,469,385 | 15,117,553 | 6,222,730 |
Gas Savings | 35,167 | 29,238 | 48,961 | 248,248 |
Saving Ratio | 0.19% | 0.65% | 0.32% | 3.84% |
For the case, please refer to the second part of the transaction hash
5. FAQ
If you have any questions, please feel free to check out the Help Guide or contact us on Discord.