Git Product home page Git Product logo

blockchain-learning-week-6's Introduction

Stadar Liquid Staking Platform - React App

Welcome to the Stadar Liquid Staking Platform React app! This app provides a user-friendly interface for staking Ethereum in the Goerli testnet.

Overview

The Stadar Liquid Staking Platform allows users to stake their Ethereum (ETH) in a standard liquid staking protocol on the Goerli testnet. The app simplifies the staking process and provides a convenient way for users to interact with the staking contracts.

Features

  • Connect Wallet: Connect your Ethereum wallet to the app.
  • Stake ETH: Stake your Ethereum in the liquid staking protocol.
  • Approve ETHx: Approve the necessary amount of ETHx for staking.
  • Withdraw Staked ETH: Withdraw your staked Ethereum.
  • Claim Rewards: Claim rewards after staking.

Getting Started

  1. Clone the repository:

    git clone https://github.com/bharatbhusal/blockchain-learning-week-6.git
  2. Install dependencies:

    cd blockchain-learning-week-6
    npm install
  3. Start the development server:

    npm start
  4. Open your browser and visit http://localhost:3000 to use the app.

Technologies Used

  • React: A JavaScript library for building user interfaces.
  • React Router DOM: A library for adding navigation to a React application.
  • React Context API: A state management solution for React applications.
  • Ethers.js: A JavaScript library for interacting with the Ethereum blockchain.

Interaction Flow

  1. Connect Wallet:

    • Click the "Connect" button to connect your Ethereum wallet.
    • Ensure your wallet is installed and select the desired account.
  2. Stake ETH:

    • Navigate to the "Stake" section.
    • Enter the amount of ETH you want to stake.
    • Click the "Stake" button.
    • Confirm the transaction in your wallet.
  3. Approve ETHx:

    • Navigate to the "Approve" section.
    • Enter the amount of ETHx you want to approve.
    • Click the "Approve" button.
    • Confirm the transaction in your wallet.
  4. Withdraw Staked ETH:

    • Navigate to the "Withdraw" section.
    • Enter the amount of staked ETH you want to withdraw.
    • Click the "Withdraw" button.
    • Confirm the transaction in your wallet.
  5. Claim Rewards:

    • Navigate to the "Claim" section.
    • Enter the request ID for the rewards you want to claim.
    • Click the "Claim" button.
    • Confirm the transaction in your wallet.

Contributions

Contributions are welcome! If you find any issues or have suggestions, please feel free to open an issue or submit a pull request.

blockchain-learning-week-6's People

Contributors

bharatbhusal avatar

Watchers

 avatar

Forkers

gurkanseren

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.