Deploy token on any EVM blockchain

I will now show you how to run your own token on any EVM compatible network, but you have to subscribe to twitter.

Lets start!

post image
  • Заходим в файл и вставляем следующий код:

    // SPDX-License-Identifier: MIT
    import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
    pragma solidity ^0.8.0;
    
    
    contract TOKEN_NAME is ERC20 {
        constructor() ERC20("TOKEN_NAME", "TOKEN_TICKER") {
            _mint(msg.sender, TOKEN_SUPPLY * 10 ** decimals());
        }
    }
    
    • Change TOKEN_NAME to the desired token name, TOKEN_TICKER to the token symbol, and TOKEN_SUPPLY to the desired issue.

    • Press CTRL+S to save.

    • Go to the "Deploy & run transactions" tab

post image
  • In the ENVIRONMENT field, select Injected Provider and connect the metamask

  • Click "Deploy" and confirm the transaction

Done!

If the material was useful, then subscribe, and I'll tell you something else interesting.

Subscribe