https://github.com/saikrishnareddy1919/hardhat_fund_me
This repo demonstrates on how to use Hardhat, EthersJs to develop, test and deploy smart contract on both local network(hardhat) and testnets.
https://github.com/saikrishnareddy1919/hardhat_fund_me
ethereum hardhat hardhat-deploy matic polygon solidity solidity-contracts testnet-blockchain web3-dapp
Last synced: 2 months ago
JSON representation
This repo demonstrates on how to use Hardhat, EthersJs to develop, test and deploy smart contract on both local network(hardhat) and testnets.
- Host: GitHub
- URL: https://github.com/saikrishnareddy1919/hardhat_fund_me
- Owner: SaikrishnaReddy1919
- Created: 2022-10-30T15:30:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-10T07:55:13.000Z (over 2 years ago)
- Last Synced: 2025-01-21T15:49:51.547Z (4 months ago)
- Topics: ethereum, hardhat, hardhat-deploy, matic, polygon, solidity, solidity-contracts, testnet-blockchain, web3-dapp
- Language: JavaScript
- Homepage:
- Size: 224 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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.### Built With - Web3
* [![Solidity][Solidity.io]][Solidity-url]
* [![Ethers.js][Ethers.js]][Ethereum-url]
* [![Hardhat][Hardhat.io]][Hardhat-url]
* [![Alchemy][Alchemy.io]][Alchemy-url]
* [![Chainlink][Chainlink.io]][Chainlink-url]## 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/](https://www.alchemy.com/)
2. Clone the repo
```sh
https://github.com/SaikrishnaReddy1919/hardhat_fund_me.git
```
3. Install NPM packages
```sh
yarn install
```
4. Add environment variables in .env file. For sample variables/env file -> look at .env.sample in project root folder.## 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## Contact
[@twitter](https://twitter.com/web3_devv) - [email protected]
[Hardhat.io]: https://img.shields.io/badge/Hardhat-4A4A55?style=for-the-badge&logo=hardhat&logoColor=white
[Hardhat-url]: https://hardhat.org/[Alchemy.io]: https://img.shields.io/badge/Alchemy-DD0031?style=for-the-badge&logo=alchemy&logoColor=white
[Alchemy-url]: https://www.alchemy.com/[Ethers.js]: https://img.shields.io/badge/Etherjs-0769AD?style=for-the-badge&logo=ethereum&logoColor=white
[Ethereum-url]: https://docs.ethers.io/v5/[Solidity.io]: https://img.shields.io/badge/Solidity-563D7C?style=for-the-badge&logo=solidity&logoColor=white
[Solidity-url]: https://docs.soliditylang.org/en/v0.8.17/[Chainlink.io]: https://img.shields.io/badge/Chainlink-35495E?style=for-the-badge&logo=chainlink&logoColor=white
[Chainlink-url]: https://chain.link/