{"id":21861338,"url":"https://github.com/gmh5225/foundry-template","last_synced_at":"2026-03-05T07:32:23.520Z","repository":{"id":257898850,"uuid":"871095334","full_name":"gmh5225/foundry-template","owner":"gmh5225","description":"Foundry template for arbitrum testnet","archived":false,"fork":false,"pushed_at":"2025-03-30T21:28:46.000Z","size":55821,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T05:36:33.565Z","etag":null,"topics":["foundry","foundry-template"],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gmh5225.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,"zenodo":null}},"created_at":"2024-10-11T09:04:20.000Z","updated_at":"2025-03-30T21:28:49.000Z","dependencies_parsed_at":"2025-04-14T19:38:13.842Z","dependency_job_id":"96460933-52ad-4bcc-8cb8-a21a5ab6ce48","html_url":"https://github.com/gmh5225/foundry-template","commit_stats":null,"previous_names":["gmh5225/foundry-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/gmh5225/foundry-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmh5225%2Ffoundry-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmh5225%2Ffoundry-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmh5225%2Ffoundry-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmh5225%2Ffoundry-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gmh5225","download_url":"https://codeload.github.com/gmh5225/foundry-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gmh5225%2Ffoundry-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30114249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["foundry","foundry-template"],"created_at":"2024-11-28T03:11:16.242Z","updated_at":"2026-03-05T07:32:23.481Z","avatar_url":"https://github.com/gmh5225.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Foundry Template\nFoundry Template for arbitrum testnet\n\n## Usage\n\n\n### Create a ``.env`` file\n```\n\nAPI_KEY_INFURA=your infura api key [Used for sepolia testnet]\nAPI_KEY_ARBISCAN=your arbiscan api key [Used for arbitrum sepolia testnet]\nAPI_KEY_ETHERSCAN=your etherscan api key [Used for sepolia testnet]\nSEPOLIA_WALLET_PRIVATE_KEY=your wallet private key [Used for Deploy.s.sol]\n```\n\n## Install deps\n```\nforge install\n```\n\n### Build\n\nBuild the contracts:\n\n```\nforge build\n```\n\n### Clean\n\nDelete the build artifacts and cache directories:\n\n```\nforge clean\n```\n\n### Compile\n\nCompile the contracts:\n\n```\nforge build\n```\n\n### Test\n\nRun the tests:\n\n```\nforge test -vv\n```\n\nGet a test coverage report:\n\n```\nforge coverage\n```\n\nGet a gas report:\n\n```\nforge test --gas-report\n```\n\n\n### Deploy\n\n#### Anvil\n```\nanvil\n```\n\n##### Deploy to ``Anvil``\n```\nforge script script/Deploy.s.sol --fork-url localhost --broadcast -vvvv\n```\n\n#### Sepolia:\n\n##### Deploy to ``Arbitrum-Sepolia``\n```\nforge script script/Deploy.s.sol:DeployScript --rpc-url arbitrum_sepolia --broadcast --verify -vvvv\n```\n\n##### Destroy the contract\n```\nforge script script/Destroy.s.sol:DestroyScript --rpc-url arbitrum_sepolia --broadcast -vvvv\n```\n\n#### result of \"Destroy the contract\"\n```\nhttps://sepolia.arbiscan.io/tx/0x4878408b3ea0fede3524bcec5ee6b1c048380e2fa5784f0ba20652b6840aba5c\n```\n\n\nFor instructions on how to deploy to a testnet or mainnet, check out the\n[Solidity Scripting](https://book.getfoundry.sh/tutorials/solidity-scripting.html) tutorial.\n\n### Format\n\nFormat the contracts:\n\n```\nforge fmt\n```\n\n\n### GUI wrapper command-line tool\n- https://github.com/gmh5225/forge-gui [Windows users]\n- https://github.com/gmh5225/forge-gui-html [MacOS/Linux users]\n\n\n## Credits\n- https://github.com/PaulRBerg/foundry-template\n- https://github.com/hrkrshnn/tstore-template\n- https://github.com/Uniswap/foundry-template\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmh5225%2Ffoundry-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgmh5225%2Ffoundry-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgmh5225%2Ffoundry-template/lists"}