Skip to content

larbiii14/Ethereum-Lock-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here’s a professional and polished README.md file tailored for your project Ether Lock App:


# 🔐 Ether Lock App

**Ether Lock App** is a decentralized application (DApp) that allows users to securely deposit, lock, and transfer ETH on the Ethereum blockchain. It features a smart contract deployed on the Sepolia testnet and a user-friendly React frontend.

## 🌐 Live Demo

Visit the live app here: https://melodic-bird-late.on-fleek.app/

Etherscan (Sepolia): [Contract on Etherscan](https://sepolia.etherscan.io/address/0xc66aef310da790594f24d7226d9dd23cc6130535#code)

---

## 📦 Features

- 📥 Deposit ETH into the smart contract
- 💸 Send ETH from the contract to any address
- 👀 View contract balance
- 🧠 Built with Solidity & React
- 🔒 Secure smart contract interaction via Ethers.js

---

## 🛠️ Installation

Clone the frontend repository and install dependencies:

```bash
git clone https://github.com/MSumonD/FrontEnd-for-EtherWallet.git
cd FrontEnd-for-EtherWallet
npm install

Start the local development server:

npm run dev

Then open http://localhost:3000 in your browser.


🔗 Smart Contract

Deployed on Sepolia:

  • Contract Address: 0xC66AeF310dA790594f24D7226d9dD23cC6130535
  • Functions:
    • deposit() - Deposit ETH to the contract
    • send(address to, uint256 amount) - Send ETH to a specified address
    • balanceOfContract() - View ETH balance
    • owner() - View contract owner

📁 Project Structure

/
├── pages/              # React pages
├── components/         # Reusable UI components
├── constants/          # Contract ABI & address
├── public/             # Static files
├── styles/             # CSS & Tailwind styles
├── package.json        # Project metadata and scripts
└── README.md           # You're here :)

🧪 Development Tips

  • Make sure to update your contract address and ABI inside constants/.
  • You can change the RPC provider (e.g., Alchemy or Infura) directly in the pages/index.js.

🤝 Contributing

Contributions are welcome! If you want to suggest features, fix bugs, or improve the code:

  1. Fork this repo
  2. Create a new branch (git checkout -b feature/new-feature)
  3. Commit your changes
  4. Open a pull request 🚀

📜 License

This project is open source and available under the MIT License.


💬 Contact

Made by Larbi

Feel free to reach out via GitHub or open an issue for any questions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published