{"id":16807781,"url":"https://github.com/lfscamargo/hardhat-typescript-boilerplate","last_synced_at":"2025-08-29T06:14:23.941Z","repository":{"id":96704786,"uuid":"407182182","full_name":"LFSCamargo/hardhat-typescript-boilerplate","owner":"LFSCamargo","description":"Hardhat typecript project with sample contract","archived":false,"fork":false,"pushed_at":"2021-09-16T13:48:05.000Z","size":165,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T08:47:10.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/LFSCamargo.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":"2021-09-16T13:47:25.000Z","updated_at":"2023-03-08T15:49:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2333bc9-45a6-4cdb-b5f5-6bdf79a1e663","html_url":"https://github.com/LFSCamargo/hardhat-typescript-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/LFSCamargo/hardhat-typescript-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LFSCamargo%2Fhardhat-typescript-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LFSCamargo%2Fhardhat-typescript-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LFSCamargo%2Fhardhat-typescript-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LFSCamargo%2Fhardhat-typescript-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LFSCamargo","download_url":"https://codeload.github.com/LFSCamargo/hardhat-typescript-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LFSCamargo%2Fhardhat-typescript-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272640824,"owners_count":24968757,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-13T09:54:58.606Z","updated_at":"2025-08-29T06:14:23.931Z","avatar_url":"https://github.com/LFSCamargo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hardhat typescript boilerplate\n\nThis project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts.\n\n## Local env setup\n\n1. Install [Ganache](https://www.trufflesuite.com/ganache)\n2. Setup a new project select an account from the accounts that are listed and copy a private key and the server url and place it on the env\n\n    \u003cimg src=\"https://s9.gifyu.com/images/Ganache.md.gif\" width=\"400px\"\u003e\n\n3. After that change the local env private key and api url\nlike this:\n```\nPRIVATE_KEY = a494e40ee032ead82210bebd8d0b50c432058a83f4e3b40bc441ab82116d6e90\n\nAPI_URL = HTTP://127.0.0.1:7545\n```\n\n4. After compile the project running `yarn compile`\n\n5. Afterwards run the tests `yarn test`\n\n## Check other hardhat commands\n\n```shell\nnpx hardhat accounts\nnpx hardhat balance --account private_key_here\nnpx hardhat compile\nnpx hardhat clean\nnpx hardhat test\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfscamargo%2Fhardhat-typescript-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flfscamargo%2Fhardhat-typescript-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flfscamargo%2Fhardhat-typescript-boilerplate/lists"}