{"id":18843338,"url":"https://github.com/decentralisedme/foundry_erc20","last_synced_at":"2026-01-31T09:30:22.471Z","repository":{"id":232616958,"uuid":"784798074","full_name":"Decentralisedme/foundry_erc20","owner":"Decentralisedme","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-10T15:38:18.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-30T12:26:59.415Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","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/Decentralisedme.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}},"created_at":"2024-04-10T15:22:05.000Z","updated_at":"2024-04-10T15:34:55.000Z","dependencies_parsed_at":"2024-04-10T18:14:13.793Z","dependency_job_id":"16692f23-90fe-46c5-9955-f2f16f4d3aae","html_url":"https://github.com/Decentralisedme/foundry_erc20","commit_stats":null,"previous_names":["decentralisedme/foundry_erc20"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Decentralisedme%2Ffoundry_erc20","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Decentralisedme%2Ffoundry_erc20/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Decentralisedme%2Ffoundry_erc20/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Decentralisedme%2Ffoundry_erc20/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Decentralisedme","download_url":"https://codeload.github.com/Decentralisedme/foundry_erc20/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239780138,"owners_count":19695736,"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-08T02:57:33.964Z","updated_at":"2026-01-31T09:30:22.425Z","avatar_url":"https://github.com/Decentralisedme.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Foundry ERC-20\n\nCreating a a Ric Token based on ERC-20 standards.\nThere are 2 Token contracs:\n### ManualToken.sol: \nThe contract contains basic functions taken from the Ethereum Improvement Proposals page:\nhttps://eips.ethereum.org/EIPS/eip-20 \n\n### RicToken.sol:\nThe contract inherits the code from ERC-20 OpenZeppelin Solidity Contract Librairy under token:\n- **OpenZeppelin**: https://www.openzeppelin.com/contracts\n- **OpenZeppelin Github**: https://github.com/OpenZeppelin/openzeppelin-contracts/\nSteps to use it:\nIn terminal install the package:\n```shell\n$ forge install OpenZeppelin/openzeppelin-contracts --no-commit\n```\nIn the solidity contract:\n```shell\n$ import \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\ncontract RicToken is ERC20 {}\n```\n\n## ChatGPT Test\nWe made use of GPT to generate unit tests for our erc20 contract: few suggestions had to be updated \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentralisedme%2Ffoundry_erc20","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecentralisedme%2Ffoundry_erc20","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecentralisedme%2Ffoundry_erc20/lists"}