https://github.com/ashetm/sample-erc20-smart-contract
⛔️ DEPRECATED - Merged with AsheTM/sample-erc20 repository
https://github.com/ashetm/sample-erc20-smart-contract
deprecated smart-contract
Last synced: 11 months ago
JSON representation
⛔️ DEPRECATED - Merged with AsheTM/sample-erc20 repository
- Host: GitHub
- URL: https://github.com/ashetm/sample-erc20-smart-contract
- Owner: AsheTM
- Created: 2022-11-17T13:15:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-13T20:22:47.000Z (about 3 years ago)
- Last Synced: 2025-05-13T20:33:02.013Z (about 1 year ago)
- Topics: deprecated, smart-contract
- Language: JavaScript
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**⛔️ DEPRECATED ⛔️**
[](http://unmaintained.tech/)
Merged with [AsheTM/sample-erc20](https://github.com/AsheTM/sample-erc20) repository.
---
# ERC20 Sample Smart Contract
Sample of how to create a ERC20 token.
## Installation
```bash
#!/bin/bash
pnpm install
```
## Deployment
Create ```.env``` file, and provide the following keys:
* MNEMONIC - MNEMONIC of your wallet
* PROJECT_ID - Infura API Key
* TOKEN_DECIMALS - Number of decimals (Range: [0, 18])
* TOKEN_NAME - Name of the token
* TOKEN_SYMBOL - Symbol of the token
* TOKEN_TOTAL_SUPPLY - Max Total Supply of the token
* ADDRESS_INDEX (Optional) Index of the address wallet with the same MNEMONIC
Then execute:
```bash
#!/bin/bash
pnpm run migrate:goerli
```
## Tests
To run tests, execute the following:
```bash
#!/bin/bash
pnpm run test
```