{"id":23636632,"url":"https://github.com/0xscratch/foundry_tutorial","last_synced_at":"2025-10-30T06:40:07.091Z","repository":{"id":214752913,"uuid":"737270674","full_name":"0xScratch/foundry_tutorial","owner":"0xScratch","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-30T17:14:11.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T06:14:07.322Z","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/0xScratch.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}},"created_at":"2023-12-30T12:25:26.000Z","updated_at":"2023-12-30T12:26:39.000Z","dependencies_parsed_at":"2023-12-30T14:25:04.498Z","dependency_job_id":"8017ed8e-3fa1-4cd8-b7e6-4f151271ff41","html_url":"https://github.com/0xScratch/foundry_tutorial","commit_stats":null,"previous_names":["aryan9592/foundry_tutorial","0xscratch/foundry_tutorial"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xScratch%2Ffoundry_tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xScratch%2Ffoundry_tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xScratch%2Ffoundry_tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xScratch%2Ffoundry_tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xScratch","download_url":"https://codeload.github.com/0xScratch/foundry_tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239565608,"owners_count":19660159,"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-12-28T06:14:13.453Z","updated_at":"2025-10-30T06:40:07.027Z","avatar_url":"https://github.com/0xScratch.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Foundry\r\n\r\n**Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.**\r\n\r\nFoundry consists of:\r\n\r\n-   **Forge**: Ethereum testing framework (like Truffle, Hardhat and DappTools).\r\n-   **Cast**: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.\r\n-   **Anvil**: Local Ethereum node, akin to Ganache, Hardhat Network.\r\n-   **Chisel**: Fast, utilitarian, and verbose solidity REPL.\r\n\r\n## Documentation\r\n\r\nhttps://book.getfoundry.sh/\r\n\r\n## Usage\r\n\r\n### Build\r\n\r\n```shell\r\n$ forge build\r\n```\r\n\r\n### Test\r\n\r\n```shell\r\n$ forge test\r\n```\r\n\r\n### Format\r\n\r\n```shell\r\n$ forge fmt\r\n```\r\n\r\n### Gas Snapshots\r\n\r\n```shell\r\n$ forge snapshot\r\n```\r\n\r\n### Anvil\r\n\r\n```shell\r\n$ anvil\r\n```\r\n\r\n### Deploy\r\n\r\n```shell\r\n$ forge script script/Counter.s.sol:CounterScript --rpc-url \u003cyour_rpc_url\u003e --private-key \u003cyour_private_key\u003e\r\n```\r\n\r\n### Cast\r\n\r\n```shell\r\n$ cast \u003csubcommand\u003e\r\n```\r\n\r\n### Help\r\n\r\n```shell\r\n$ forge --help\r\n$ anvil --help\r\n$ cast --help\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xscratch%2Ffoundry_tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xscratch%2Ffoundry_tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xscratch%2Ffoundry_tutorial/lists"}