How to Accept ERC20 tokens into a Smart Contract as Payment instead of Ether
payable function modifier provides a way to receive ethers in your smart contract.
But what if you want to receive ERC20 Tokens into your smart contract. In this article, We will have a look at how you can do this.
In order to accept tokens into the ...
aniruddha-deshmukh.hashnode.dev2 min read