This repository provides a set of commands to help you develop and test Ethereum smart contracts using the Hardhat development framework.
Before getting started, make sure you have Node.js and npm (Node Package Manager) installed on your system.
- Clone this repository to your local machine.
- Install project dependencies by running
npm install
.
-
npx hardhat accounts
:- View a list of Ethereum accounts available for your development environment.
-
npx hardhat compile
:- Compile your Ethereum smart contracts, generating the necessary bytecode and ABI files.
-
npx hardhat test
:- Run your Ethereum smart contract tests to ensure their functionality.
-
npx hardhat node
:- Start a local Ethereum node for development and testing purposes.
-
node scripts/sample-script.js
:- Execute a custom JavaScript script for interacting with your smart contracts or performing specific actions.
-
npx hardhat help
:- Get detailed information and help regarding available Hardhat commands and options.
Feel free to customize the provided scripts and configuration files to suit your Ethereum development needs. You can edit the Hardhat configuration file (hardhat.config.js
) to specify custom network configurations, plugins, and more.
This project is open-source and is provided under the [License Name]. Refer to the LICENSE
file for details.
Mention any libraries, tools, or resources that you used or were inspired by in your Ethereum development project.