Skip to content

ERC 20 #6727

Answered by HarigovindM-G
EddiePumpin asked this question in Q&A
ERC 20 #6727
Aug 31, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

So in the ERC20 lesson , Patrick writes 2 solidity contracts , they are ManualToken.sol and OurToken.sol . ManualToken.sol is the manual implementation of a ERC20 token, but its very tiring to code up a TokenContract from scratch everytime we need a token right? , also think of it there is no much tweaks you can make to the basic transfer, trasferFrom ...., so its waste of time to code up ERC20 contract maunually , so the solution was to use a template kind of stuff , this is where the ERC20 contract from OpenZeppelin Steps in , when you inherit from this contract , you contract instantly gets the functions of an ERC20 token , after that if you want to ad d some other stuff , you could ab…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by EddiePumpin
Comment options

You must be logged in to vote
2 replies
@HarigovindM-G
Comment options

@EddiePumpin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants