https://github.com/parothia/eth
https://github.com/parothia/eth
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/parothia/eth
- Owner: parothia
- Created: 2022-11-19T18:29:45.000Z (over 3 years ago)
- Default Branch: dev
- Last Pushed: 2022-11-26T15:06:54.000Z (over 3 years ago)
- Last Synced: 2025-05-14T16:17:30.177Z (10 months ago)
- Language: JavaScript
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 📜 Ethereum Block Chain
Building a simple **Ethereum Contracts** and deploying it to a **Sepolia** test network using **Solidity** and **node js**.
### Prerequisite
1. Install **Metamask** as Google Chrome Extension and Create an account.
2. Request Ether by sharing your ethereum address in social media
(`https://faucet.sepolia.dev/)`
### Dependencies Used
| Name | Version | Description |
| ------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------ |
| solc | 0.4.26 | Programming language to write smart contracts |
| ganache | 7.5.0 | Local Ethereum Test Network |
| mocha | 10.1.0 | JavaScript test framework |
| @truffle/hdwallet-provider | 2.1.2 | The **Truffle HDWallet provider** is a convenient and easy to configure network connection to ethereum through infura.io |
| web3 | 1.8.1 | Ethereum JavaScript API which connects to the Generic JSON RPC spec. |
|
### Steps to Setup
**1. Clone the Application**
git clone git@github.com:parothia/eth.git
**2. Intall dependencies/npm modules**
Go to the project directory and execute the following command from the terminal.
npm install
**3. Test Contract using mocha**
npm test
**4. Deploy the Contract in Rinkeby Test Network**
node deploy.js
`
You can check your contract has been deployed on https://sepolia.etherscan.io with the transaction hash you get when your contract has been successfully deployed.