barangulesen / SmartContract

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Binance Smart Chain

Contract Type - Bep20

BEP20 Token

A BEP20 token must implement the interface IBEP20 in IBEP20.sol. This is a template contract BEP20Token.template. Users just need to fill in _name, _symbol, _decimals and _totalSupply according to their own requirements:



constructor() public {
_name = {{TOKEN_NAME}};
_symbol = {{TOKEN_SYMBOL}};
_decimals = {{DECIMALS}};
_totalSupply = {{TOTAL_SUPPLY}};
_balances[msg.sender] = _totalSupply;

emit Transfer(address(0), msg.sender, _totalSupply);
}
Then users can use Remix IDE and Metamask to compile and deploy the BEP20 contract to BSC.

About


Languages

Language:Solidity 100.0%