Skip to content

Instantly share code, notes, and snippets.

@lex-world
Created January 16, 2022 17:23
Show Gist options
  • Save lex-world/499053511a13033082322963c67ff48a to your computer and use it in GitHub Desktop.
Save lex-world/499053511a13033082322963c67ff48a to your computer and use it in GitHub Desktop.
BEP20 Token format for Binance Chain from ERC20 Standard.
// contracts/BEP20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract BEP20 is ERC20 {
constructor(uint256 initialSupply, string memory _name, string memory _symbol) ERC20(_name, _symbol) {
_mint(msg.sender, initialSupply);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment