{"id":24489884,"url":"https://github.com/bluntbrain/custom-erc20-token","last_synced_at":"2025-09-10T19:34:54.688Z","repository":{"id":123127280,"uuid":"568042163","full_name":"bluntbrain/custom-ERC20-token","owner":"bluntbrain","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-19T13:29:55.000Z","size":155,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-04T01:39:42.807Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/bluntbrain.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,"zenodo":null}},"created_at":"2022-11-19T09:08:50.000Z","updated_at":"2022-11-19T13:29:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"1b4a6c64-e128-4947-ab26-637e5282131a","html_url":"https://github.com/bluntbrain/custom-ERC20-token","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bluntbrain/custom-ERC20-token","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluntbrain%2Fcustom-ERC20-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluntbrain%2Fcustom-ERC20-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluntbrain%2Fcustom-ERC20-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluntbrain%2Fcustom-ERC20-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bluntbrain","download_url":"https://codeload.github.com/bluntbrain/custom-ERC20-token/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluntbrain%2Fcustom-ERC20-token/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267184102,"owners_count":24049127,"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-07-26T02:00:08.937Z","response_time":62,"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":[],"created_at":"2025-01-21T17:16:19.805Z","updated_at":"2025-07-26T15:11:54.630Z","avatar_url":"https://github.com/bluntbrain.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# custom-ERC20-token\n\nhttps://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol\u003c/br\u003e\u003c/br\u003e\n\nERC stands for Ethereum Request for Comment. Essentially, they are standards that have been approved by the community and are used to convey technical requirements and specifications for certain use cases.\u003c/br\u003e\u003c/br\u003e\n\n\nimport \"https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol\"; \u003c/br\u003e\n\nThis line imports the ERC-20 token standard from OpenZeppelin (OZ). OZ is an Ethereum security company. Among other things, OZ develops reference contracts for popular smart contract standards which are thoroughly tested and secure. Whenever implementing a smart contract which needs to comply with a standard, try to find an OZ reference implementation rather than rewriting the entire standard from scratch.\u003c/br\u003e\u003c/br\u003e\n\nEssentially, Solidity does not support floating point numbers - that is decimals. Also, since ERC20 tokens deal with money, using floating point numbers is a bad idea.\u003c/br\u003e\n\nERC20 tokens by default work with 18 decimal places. So 1 full LW3Token in this case, is actually represented as 10 ^ 18. Therefore, to get 10 full LW3Tokens, we use 10 * 10 ** 18.\u003c/br\u003e\n\n```shell\n0xC4F5a1659C2DCCb7da1213f7b3CaFcD43A07ca56\n```\n\nhttps://goerli.etherscan.io/tx/0xcda0b9c1f1ee0f3c3c2162fcfe249bd9f7012a48f177dc069aedf6347c272dbf\u003c/br\u003e\n\nHardhat commands\u003c/br\u003e\n```shell\nnpx hardhat help\nnpx hardhat test\nREPORT_GAS=true npx hardhat test\nnpx hardhat node\nnpx hardhat run scripts/deploy.js\n```\n\nCommand to deploy \u003c/br\u003e\n```shell\nnpx hardhat run scripts/deploy.js --network goerli\n```\n\nNFT Contract Address: \u003c/br\u003e\n```shell\n0x2AbbbfF1169E825Ab51F80BeFb2899d291505f61\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluntbrain%2Fcustom-erc20-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluntbrain%2Fcustom-erc20-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluntbrain%2Fcustom-erc20-token/lists"}