Skip to content

This repo demonstrates on how to use Hardhat, EthersJs to develop, test and deploy smart contract on both local network(hardhat) and testnets.

Notifications You must be signed in to change notification settings

SaikrishnaReddy1919/hardhat_fund_me

Repository files navigation

About The Project

This repo demonstrates on how to use Hardhat, EthersJs to develop, test and deploy smart contract on both local network(hardhat) and testnets.

This repo has simple contract with name FundME.sol and the tests inside test folder (unit -> tests for local network) & (staging -> tests for testnets).

Contract Description :

This is simple contract works like an crowd funding application. Where it accepts funding from anyone and owner can only withdraw funds whenever he/she wants.

(back to top)

Built With - Web3

  • Solidity
  • Ethers.js
  • Hardhat
  • Alchemy
  • Chainlink

(back to top)

Getting Started

Before runnig this project make sure you install below Prerequisites.

Prerequisites

  • Nodejs
  • Npm
  • Git

Steps to proceed further :

  1. Get a free API Key at https://www.alchemy.com/
  2. Clone the repo
    https://github.com/SaikrishnaReddy1919/hardhat_fund_me.git
  3. Install NPM packages
    yarn install
  4. Add environment variables in .env file. For sample variables/env file -> look at .env.sample in project root folder.

(back to top)

Usage

 * Check the commands under `scripts` in `package.json` file.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

@twitter - krishnasvr9393@gmail.com

(back to top)

About

This repo demonstrates on how to use Hardhat, EthersJs to develop, test and deploy smart contract on both local network(hardhat) and testnets.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published