{"id":23193461,"url":"https://github.com/william-versatile/hardhat-first","last_synced_at":"2025-04-05T07:25:40.107Z","repository":{"id":225576528,"uuid":"758378842","full_name":"William-versatile/hardhat-first","owner":"William-versatile","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-16T07:33:26.000Z","size":3194,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T15:17:07.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/William-versatile.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}},"created_at":"2024-02-16T07:31:52.000Z","updated_at":"2024-02-22T02:21:33.000Z","dependencies_parsed_at":"2024-03-03T01:31:22.695Z","dependency_job_id":"d06a32e9-288f-4108-9feb-8861527b6b1a","html_url":"https://github.com/William-versatile/hardhat-first","commit_stats":null,"previous_names":["william-xfactor/hardhat-first","william-versatile/hardhat-first"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/William-versatile%2Fhardhat-first","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/William-versatile%2Fhardhat-first/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/William-versatile%2Fhardhat-first/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/William-versatile%2Fhardhat-first/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/William-versatile","download_url":"https://codeload.github.com/William-versatile/hardhat-first/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247302166,"owners_count":20916645,"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-18T13:11:35.622Z","updated_at":"2025-04-05T07:25:40.087Z","avatar_url":"https://github.com/William-versatile.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hardhat Boilerplate\n\nThis repository contains a sample project that you can use as the starting point\nfor your Ethereum project. It's also a great fit for learning the basics of\nsmart contract development.\n\nThis project is intended to be used with the\n[Hardhat Beginners Tutorial](https://hardhat.org/tutorial), but you should be\nable to follow it by yourself by reading the README and exploring its\n`contracts`, `tests`, `scripts` and `frontend` directories.\n\n## Quick start\n\nThe first things you need to do are cloning this repository and installing its\ndependencies:\n\n```sh\ngit clone https://github.com/NomicFoundation/hardhat-boilerplate.git\ncd hardhat-boilerplate\nnpm install\n```\n\nOnce installed, let's run Hardhat's testing network:\n\n```sh\nnpx hardhat node\n```\n\nThen, on a new terminal, go to the repository's root folder and run this to\ndeploy your contract:\n\n```sh\nnpx hardhat run scripts/deploy.js --network localhost\n```\n\nFinally, we can run the frontend with:\n\n```sh\ncd frontend\nnpm install\nnpm start\n```\n\nOpen [http://localhost:3000/](http://localhost:3000/) to see your Dapp. You will\nneed to have [Coinbase Wallet](https://www.coinbase.com/wallet) or [Metamask](https://metamask.io) installed and listening to\n`localhost 8545`.\n\n## User Guide\n\nYou can find detailed instructions on using this repository and many tips in [its documentation](https://hardhat.org/tutorial).\n\n- [Writing and compiling contracts](https://hardhat.org/tutorial/writing-and-compiling-contracts/)\n- [Setting up the environment](https://hardhat.org/tutorial/setting-up-the-environment/)\n- [Testing Contracts](https://hardhat.org/tutorial/testing-contracts/)\n- [Setting up your wallet](https://hardhat.org/tutorial/boilerplate-project#how-to-use-it)\n- [Hardhat's full documentation](https://hardhat.org/docs/)\n\nFor a complete introduction to Hardhat, refer to [this guide](https://hardhat.org/getting-started/#overview).\n\n## What's Included?\n\nThis repository uses our recommended hardhat setup, by using our [`@nomicfoundation/hardhat-toolbox`](https://hardhat.org/hardhat-runner/plugins/nomicfoundation-hardhat-toolbox). When you use this plugin, you'll be able to:\n\n- Deploy and interact with your contracts using [ethers.js](https://docs.ethers.io/v5/) and the [`hardhat-ethers`](https://hardhat.org/hardhat-runner/plugins/nomiclabs-hardhat-ethers) plugin.\n- Test your contracts with [Mocha](https://mochajs.org/), [Chai](https://chaijs.com/) and our own [Hardhat Chai Matchers](https://hardhat.org/hardhat-chai-matchers) plugin.\n- Interact with Hardhat Network with our [Hardhat Network Helpers](https://hardhat.org/hardhat-network-helpers).\n- Verify the source code of your contracts with the [hardhat-etherscan](https://hardhat.org/hardhat-runner/plugins/nomiclabs-hardhat-etherscan) plugin.\n- Get metrics on the gas used by your contracts with the [hardhat-gas-reporter](https://github.com/cgewecke/hardhat-gas-reporter) plugin.\n- Measure your tests coverage with [solidity-coverage](https://github.com/sc-forks/solidity-coverage).\n\nThis project also includes [a sample frontend/Dapp](./frontend), which uses [Create React App](https://github.com/facebook/create-react-app).\n\n## Troubleshooting\n\n- `Invalid nonce` errors: if you are seeing this error on the `npx hardhat node`\n  console, try resetting your Metamask account. This will reset the account's\n  transaction history and also the nonce. Open Metamask, click on your account\n  followed by `Settings \u003e Advanced \u003e Clear activity tab data`.\n\n## Setting up your editor\n\n[Hardhat for Visual Studio Code](https://hardhat.org/hardhat-vscode) is the official Hardhat extension that adds advanced support for Solidity to VSCode. If you use Visual Studio Code, give it a try!\n\n## Getting help and updates\n\nIf you need help with this project, or with Hardhat in general, please read [this guide](https://hardhat.org/hardhat-runner/docs/guides/getting-help) to learn where and how to get it.\n\nFor the latest news about Hardhat, [follow us on Twitter](https://twitter.com/HardhatHQ), and don't forget to star [our GitHub repository](https://github.com/NomicFoundation/hardhat)!\n\n**Happy _building_!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliam-versatile%2Fhardhat-first","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliam-versatile%2Fhardhat-first","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliam-versatile%2Fhardhat-first/lists"}