{"id":18483711,"url":"https://github.com/ashetm/sample-erc20","last_synced_at":"2026-05-10T05:13:02.631Z","repository":{"id":120687290,"uuid":"567862088","full_name":"AsheTM/sample-erc20","owner":"AsheTM","description":"Sample for a custom ERC20 token","archived":false,"fork":false,"pushed_at":"2023-05-14T10:14:58.000Z","size":2300,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-06T15:01:53.975Z","etag":null,"topics":["angular","smart-contract","solidity","web3"],"latest_commit_sha":null,"homepage":"https://ashetm-sample-erc20.netlify.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AsheTM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-18T18:59:41.000Z","updated_at":"2023-06-29T13:24:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"acf7707a-d694-45b7-b774-0d4332de3442","html_url":"https://github.com/AsheTM/sample-erc20","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/AsheTM/sample-erc20","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsheTM%2Fsample-erc20","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsheTM%2Fsample-erc20/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsheTM%2Fsample-erc20/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsheTM%2Fsample-erc20/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AsheTM","download_url":"https://codeload.github.com/AsheTM/sample-erc20/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AsheTM%2Fsample-erc20/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268326563,"owners_count":24232491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","smart-contract","solidity","web3"],"created_at":"2024-11-06T12:37:00.631Z","updated_at":"2026-05-10T05:13:02.595Z","avatar_url":"https://github.com/AsheTM.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample ERC20 \n\n## Setup\n\nInstall dependencies:\n\n```bash\n#!/bin/bash\nnpm install\n```\n\nAnd provide the following keys in ```.env``` file:\n\n* MNEMONIC - MNEMONIC of your wallet\n* PROJECT_ID - Infura API Key\n* TOKEN_DECIMALS - Number of decimals (Range: [0, 18])\n* TOKEN_NAME - Name of the token\n* TOKEN_SYMBOL - Symbol of the token\n* TOKEN_TOTAL_SUPPLY - Max Total Supply of the token\n* ADDRESS_INDEX (Optional) Index of the address wallet with the same MNEMONIC\n\n## Projects\n\n### \u0026nbsp;\u0026nbsp;\u0026nbsp; __Smart Contract__\n\nSample of how to create a ERC20 token.\n\n#### Deployment\n\n```bash\n#!/bin/bash\nnpm run migrate:goerli\n```\n\n#### Tests\n\nTo run tests, execute the following:\n\n```bash\n#!/bin/bash\nnpm run test\n```\n\n### \u0026nbsp;\u0026nbsp;\u0026nbsp; __Front End__\n\nSample UI to interact with smart contract concerning erc20 custom token.\n\n#### Start\n\nBefore serving the front end, provide the following keys in ```.env``` file:\n\n* NG_APP_CONTRACT_ADDRESS - Address of the deployed contract (You can get it from logs of the deployed smart contract in [Deployment Smart Contract setion](https://github.com/AsheTM/sample-erc20#deployment))\n\nAnd then launch the front end part with:\n\n```bash\n#!/bin/bash\nnpm run start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashetm%2Fsample-erc20","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashetm%2Fsample-erc20","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashetm%2Fsample-erc20/lists"}