{"id":19573330,"url":"https://github.com/chaineasy/forge","last_synced_at":"2026-05-16T07:46:58.186Z","repository":{"id":169266281,"uuid":"545614939","full_name":"ChainEasy/forge","owner":"ChainEasy","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-04T18:02:02.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-09T03:45:31.133Z","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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChainEasy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-04T17:25:19.000Z","updated_at":"2022-10-04T17:25:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"8e752809-a659-4df6-b8e6-d51190d186de","html_url":"https://github.com/ChainEasy/forge","commit_stats":null,"previous_names":["chaineasy/forge"],"tags_count":0,"template":false,"template_full_name":"foundry-rs/forge-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainEasy%2Fforge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainEasy%2Fforge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainEasy%2Fforge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainEasy%2Fforge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChainEasy","download_url":"https://codeload.github.com/ChainEasy/forge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240840107,"owners_count":19866168,"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-11T06:33:24.645Z","updated_at":"2026-05-16T07:46:53.154Z","avatar_url":"https://github.com/ChainEasy.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003ch1 align=\"center\"\u003e Forge Template \u003c/h1\u003e\n\n**Template repository for getting started quickly with Foundry projects**\n\n![Github Actions](https://github.com/foundry-rs/forge-template/workflows/CI/badge.svg)\n\n## Getting Started\n\nClick \"Use this template\" on [GitHub](https://github.com/foundry-rs/forge-template) to create a new repository with this repo as the initial state.\n\nOr, if your repo already exists, run:\n```sh\nforge init\nforge build\nforge test\n```\n\n## Writing your first test\n\nAll you need is to `import forge-std/Test.sol` and then inherit it from your test contract. Forge-std's Test contract comes with a pre-instatiated [cheatcodes environment](https://book.getfoundry.sh/cheatcodes/), the `vm`. It also has support for [ds-test](https://book.getfoundry.sh/reference/ds-test.html)-style logs and assertions. Finally, it supports Hardhat's [console.log](https://github.com/brockelmore/forge-std/blob/master/src/console.sol). The logging functionalities require `-vvvv`.\n\n```solidity\npragma solidity 0.8.10;\n\nimport \"forge-std/Test.sol\";\n\ncontract ContractTest is Test {\n    function testExample() public {\n        vm.roll(100);\n        console.log(1);\n        emit log(\"hi\");\n        assertTrue(true);\n    }\n}\n```\n\n## Development\n\nThis project uses [Foundry](https://getfoundry.sh). See the [book](https://book.getfoundry.sh/getting-started/installation.html) for instructions on how to install and use Foundry.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaineasy%2Fforge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaineasy%2Fforge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaineasy%2Fforge/lists"}