DEV Community

Discussion on: How to Create an ERC20 Token in Solidity

Collapse
 
abdulmaajid profile image
Abdul Maajid

Hey

If you want to access/use ERC20 Token in any contract Just create an interface of ERC20 Token. And pass your erc20 contract address in this interface then you can access.
e.g. IERC20 token = IERC20(address)