Skip to content

Alex000115/simple-ether-staking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Ether Staking DApp

A lightweight Web3 application demonstrating the fundamentals of DeFi staking. Users can deposit ETH into the smart contract and withdraw it later. This repository uses a completely flat file structure for ease of learning and portability.

Features

  • Smart Contract: Solidity contract handling deposits and balances.
  • Frontend: Plain HTML/JS interface to interact with the blockchain.
  • Testing: Automated tests to ensure contract security.

Setup

  1. Install dependencies: npm install
  2. Compile contract: npx hardhat compile
  3. Run tests: npx hardhat test
  4. Deploy (local): npx hardhat run deploy.js --network localhost

Technology Stack

  • Solidity ^0.8.0
  • Hardhat
  • Ethers.js

THANKS

YOLO badge test 😆

About

A minimal, flat-structure decentralized application (DApp) allowing users to stake Ether and earn synthetic rewards. Built with Solidity, Hardhat, and Ethers.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors