Skip to main content

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

节省gas原理(英文版).png

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 ComparisonBatch MintingBatch MintingBatch ClaimingBatch ClaimingBatch ReMintingBatch ReMintingBatch Claiming and ReMintingBatch Claiming and ReMinting
GasETHGasETHGasETHGasETH
Official XENFT Gas Consumption19,143,3350.287155,008,2010.07512N/AN/AN/AN/A
XENTurbo Miner Gas Consumption18,962,8680.284444,515,1000.0677315,133,7250.227016,381,9960.09573
Difference Value180,4670.00271493,1010.007404,009,6100.0601441517,769,5400.26654
Saving ratio compared to the official XENFT0.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.

FuntionsMintClaimCreate Empty SlotsEmpty Slots Re-MintClaim and Re-Mint
Tested Max VMUs156537592162404
Max VMUs supported by the client128350500150300

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:

FuntionsMintClaimEmpty Slots Re-MintClaim and Re-Mint
XENFT average Gas/VMU consumption192,36950,265192,369242,635
CoinTool average Gas/VMU consumption189,66944,986151,66564,710
XENTurbo Miner average Gas/VMU consumption189,31744,694151,17662,227

image.png

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 VMUs102030405060708090100
XENFT Gas Consumption2,109,0074,002,7255,896,4467,790,1719,663,87811,577,63213,472,34815,336,62217,227,54219,236,945
XENTurbo Miner Gas Consumption1,941,7223,829,4855,717,2517,605,0199,492,79311,380,56713,268,34315,156,12217,043,90818,931,692

image.png

For the case, please refer to the second part of the transaction hash

3.2 Claim Comparison

Claim VMUs102030405060708090100
XENFT Gas Consumption552,9741,050,0151,547,0662,057,8152,541,2135,026,506
XENTurbo Miner Gas Consumption487,093929,4351,371,5501,813,7032,255,9692,698,2483,140,8003,585,2784,028,0244,469,385

image.png

For the case, please refer to the second part of the transaction hash

3.3 Re-Mint Comparison

Re-Mint VMUs102030405060708090100
XENFT Gas Consumption2,109,0074,002,7255,896,4467,790,1719,663,87811,577,63213,472,34815,336,62217,227,54219,236,945
XENTurbo Miner Gas Consumption1,555,9893,062,6364,569,2946,075,9717,582,6649,089,37410,596,42312,103,80013,610,67215,117,553

image.png

For the case, please refer to the second part of the transaction hash

3.4 Claim and Re-Mint Comparison

Claim and Re-Mint VMUs102030405060708090100
XENFT Gas Consumption2,661,9815,052,7407,443,5129,847,98612,205,09111,577,63213,472,34815,336,62217,227,54224,263,451
XENTurbo Miner Gas Consumption672,6921,289,1691,905,6612,522,1653,138,6893,755,2294,372,1084,989,3165,606,0186,222,730

image.png 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.

FuntionsMintClaimEmpty Slots Re-MintClaim and Re-Mint
CoinTool Gas Consumption18,966,8594,498,62315,166,5146,470,978
XENTurbo Miner Gas Consumption18,931,6924,469,38515,117,5536,222,730
Gas Savings35,16729,23848,961248,248
Saving Ratio0.19%0.65%0.32%3.84%

image.png 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.