{"id":19772074,"url":"https://github.com/danieldacosta/erc-20-token","last_synced_at":"2025-02-28T04:44:26.366Z","repository":{"id":112641494,"uuid":"468929713","full_name":"DanielDaCosta/erc-20-token","owner":"DanielDaCosta","description":"Creating my own token using the ERC-20 standard","archived":false,"fork":false,"pushed_at":"2022-04-14T18:47:12.000Z","size":228,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-11T01:10:39.591Z","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/DanielDaCosta.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-03-11T23:32:35.000Z","updated_at":"2022-03-12T02:25:45.000Z","dependencies_parsed_at":"2023-06-02T06:15:36.586Z","dependency_job_id":null,"html_url":"https://github.com/DanielDaCosta/erc-20-token","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Ferc-20-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Ferc-20-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Ferc-20-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Ferc-20-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielDaCosta","download_url":"https://codeload.github.com/DanielDaCosta/erc-20-token/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241101665,"owners_count":19909943,"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","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":"2024-11-12T05:05:18.499Z","updated_at":"2025-02-28T04:44:26.356Z","avatar_url":"https://github.com/DanielDaCosta.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ERC-20-token\n\nCreating my own token using the ERC-20 standard =\u003e DPC Token\n\n# Dependencies\n```json\n{\n  \"dependencies\": {\n    \"@openzeppelin/contracts\": \"^4.5.0\",\n    \"@truffle/hdwallet-provider\": \"^2.0.4\",\n  }\n}\n```\n\n```bash\nTruffle v5.5.3 (core: 5.5.3)\nGanache v7.0.1\nSolidity - 0.8.12 (solc-js)\nNode v16.14.0\nWeb3.js v1.5.3\n```\n\n# Usage\n\n## Create Token\nUpdate `contracts/DanielToken.sol` with your new token information.\n\n## Pass the parameters specified in the Contract constructor\nTo be able to deploy your token you will need to create a file in the migrations folder create a new file *2_initial_migration.js*. \n\n## (optional) Deploy to a local blockchain\nDeploy to truffle develop:\n\n```\n1) Open a Terminal window, and make sure you are inside your project directory\n\n2) Run the command `truffle develop` (to run a local ethereum network)\n\n3) Use the command `compile` (to compile your solidity contract files)\n\n4) Use the command `migrate --reset` (to deploy your contract to the locally running ethereum network)\n```\n\n## Deploy to Ropsten Test Network\nIn the file `truffle-config.js`, replace {YOUR_PRIVATE_KEY} with your **Metamask** private key and {YOUR_INFURA_ACCOUNT} with your **infura** account robsten endpoint\n\n```\ntruffle migrate --reset --network ropsten\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldacosta%2Ferc-20-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanieldacosta%2Ferc-20-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldacosta%2Ferc-20-token/lists"}