For create token

Hello, I am a beginner, I want create 500,000,000,000,000
Token Supply, my question is what numbers should I put in the contract instead of the question mark
_mint(msg.sender, ? *? ** decimals());

and i want have every token price 0.000000000001$

thanks for help

It should look like this

_mint(msg.sender, 500000000000000 * 10 ** decimals());

You should test the contract first inside a testnet network before deploying in production.

For your second question about the price, i dont have an easy answer for this because the price wont be in USD, it will be generated based on the ratio of the tokens’ quantities in the pool.

A few articles that you should check before starting developing your contract

thank you for help

and tow question in

What are the functions of these two options in the contract and which one should I choose?

access control?




Hi, im not familiar myself with token creation and the best implementation.

I recommend doing some research on the best practices there

HI thanks do you know how can i add fee in contract?

Hi @omid007m

You will have to define your own logic to add fees to the contract. For example, if you want to add fees for minting NFT, you will define a payable function with the code to transfer fees followed by the minting function.

i want crate meme coin by this option

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.