Welcome to the Stadar Liquid Staking Platform React app! This app provides a user-friendly interface for staking Ethereum in the Goerli testnet.
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.
- 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.
-
Clone the repository:
git clone https://github.com/bharatbhusal/blockchain-learning-week-6.git
-
Install dependencies:
cd blockchain-learning-week-6 npm install
-
Start the development server:
npm start
-
Open your browser and visit
http://localhost:3000
to use the app.
- 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.
-
Connect Wallet:
- Click the "Connect" button to connect your Ethereum wallet.
- Ensure your wallet is installed and select the desired account.
-
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.
-
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.
-
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.
-
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 are welcome! If you find any issues or have suggestions, please feel free to open an issue or submit a pull request.