https://github.com/stylepatrick/smart-contract-erc20-token
Smart Contract ERC20 Token made with Solidity
https://github.com/stylepatrick/smart-contract-erc20-token
erc20 ethereum smart-contracts solidity
Last synced: about 1 month ago
JSON representation
Smart Contract ERC20 Token made with Solidity
- Host: GitHub
- URL: https://github.com/stylepatrick/smart-contract-erc20-token
- Owner: stylepatrick
- License: mit
- Created: 2021-08-17T14:12:26.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-17T14:12:32.000Z (almost 5 years ago)
- Last Synced: 2025-03-21T11:22:48.409Z (about 1 year ago)
- Topics: erc20, ethereum, smart-contracts, solidity
- Language: Solidity
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# smart-contract-erc20-token
Smart Contract ERC20 Token made with Solidity
## Methodes:
- totalSupply: A method that defines the total supply of your tokens.
- balanceOf: A method that returns the number of tokens a wallet address has.
- transfer: A method that takes a certain amount of tokens from the total supply (owner address) and gives it to a user.
- approve: What approve does is to allow an owner to approve a delegate account to withdraw tokens from his account and to transfer them to other accounts.
- allowance: This method is exactly the same as the approved method except that it checks if one user has enough balance to send a certain amount of tokens to another.
- transferFrom: Another type of transfer method which is used to transfer tokens between users. It is necessary to make first the approve function to allow someone to transfer tokens.
Use https://remix.ethereum.org/ to deploye the smart contract.