jackygu's blog

Posted on Aug 04, 2023Read on Mirror.xyz

Gas fee of deploying

I have calculated the gas fee of deploying ferc20 tokens on different chains.

To make the deployers life easy, the estimated fees(USD) are listed here:

Please note that the coin price(ETH/BNB/MATIC) and gas price(Gwei) are always changing.

The reason for the different deployment modes and varying gas fees is because:

1- If you choose Vesting mode, the InscriptionFactory contract will deploy an extra smart contract named Vesting automaticlly. This increases around 1,450,000 gas from the base mode*(3,700,000 gas*, same as Ferc20 V1/V2 mode*)*, totally will be around 5,150,000 gas.

2- If you choose FTO mode, the InscriptionFactory contract will deploy 2 extra smarts contracts: FTO contract and Pool contract of UniswapV3. This increases around 12,700,000 gas from the vesting mode(5,150,000 gas), so totally will be around 17,850,000 gas.

You are welcome to download the excel sheet from google docs to estimate gas fee based on the latest gas price and coin price by yourself.

https://docs.google.com/spreadsheets/d/1UWTH41rRgHvufTdakUIeUtgqvvVcSqbbblCPlwwdsy4/edit?usp=sharing