Added instructions for practical 1 and 2 from Vedang's repo.
This commit is contained in:
@@ -0,0 +1,61 @@
|
|||||||
|
# Practical-1: MetaMask Installation and Ether Spending Study
|
||||||
|
|
||||||
|
## Step 1: Install MetaMask
|
||||||
|
|
||||||
|
### For Desktop (Browser)
|
||||||
|
|
||||||
|
1. Open your preferred browser (Chrome, Firefox, Edge, or Brave).
|
||||||
|
2. Go to the official MetaMask website: [https://metamask.io](https://metamask.io)
|
||||||
|
3. Click **"Download"** and select your browser.
|
||||||
|
4. Add the extension to your browser.
|
||||||
|
5. Open MetaMask, and follow the setup:
|
||||||
|
- **Create a new wallet** or **import an existing one**.
|
||||||
|
- Set a **strong password**.
|
||||||
|
- **Backup your secret recovery phrase** securely.
|
||||||
|
|
||||||
|
### For Mobile
|
||||||
|
|
||||||
|
1. Go to your App Store (iOS) or Google Play Store (Android).
|
||||||
|
2. Search for **MetaMask**.
|
||||||
|
3. Download and install the app.
|
||||||
|
4. Follow similar setup steps (create wallet, backup phrase).
|
||||||
|
|
||||||
|
## Step 2: Connect MetaMask to a Network
|
||||||
|
|
||||||
|
- By default, MetaMask uses the **Ethereum Mainnet**.
|
||||||
|
- To use test networks for learning, click the network dropdown and select a testnet like **Goerli Test Network**.
|
||||||
|
- Obtain free test Ether from a Goerli faucet: [https://goerlifaucet.com/](https://goerlifaucet.com/).
|
||||||
|
|
||||||
|
## Step 3: Understanding Ether Spending per Transaction
|
||||||
|
|
||||||
|
### Key Concepts
|
||||||
|
1. **Gas Limit:** Maximum units of gas you are willing to spend.
|
||||||
|
2. **Gas Price:** Price per gas unit in **Gwei** (1 ETH = 1,000,000,000 Gwei).
|
||||||
|
3. **Transaction Fee = Gas Limit × Gas Price**
|
||||||
|
|
||||||
|
## Step 4: Make a Test Transaction
|
||||||
|
|
||||||
|
1. Ensure your wallet has ETH (test ETH on testnets).
|
||||||
|
2. Click **Send** in MetaMask.
|
||||||
|
3. Enter the recipient address and amount.
|
||||||
|
4. Adjust **Gas Fee** if desired.
|
||||||
|
5. Confirm the transaction.
|
||||||
|
|
||||||
|
## Step 5: Observe Spending
|
||||||
|
|
||||||
|
- After sending, MetaMask displays the **Transaction Fee** in ETH.
|
||||||
|
- To see detailed info, check **Etherscan**:
|
||||||
|
1. Copy the transaction hash from MetaMask.
|
||||||
|
2. Go to [https://etherscan.io](https://etherscan.io) or testnet explorer like [https://goerli.etherscan.io](https://goerli.etherscan.io).
|
||||||
|
3. Paste the hash to see gas used and ETH spent.
|
||||||
|
|
||||||
|
## Step 6: Experiment
|
||||||
|
|
||||||
|
- Send multiple transactions with different **gas prices**.
|
||||||
|
- Observe how fees change based on **network congestion**.
|
||||||
|
- Try interacting with **smart contracts** to see higher gas usage.
|
||||||
|
|
||||||
|
## Tips
|
||||||
|
- Always use a testnet first to avoid losing real ETH.
|
||||||
|
- MetaMask provides detailed transaction history and gas usage.
|
||||||
|
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
# Practical-2: How to Create Your Own Wallet Using MetaMask for Crypto Transactions
|
||||||
|
|
||||||
|
MetaMask is a popular cryptocurrency wallet that allows you to manage Ethereum-based assets and interact with decentralized applications (dApps). Follow the steps below to create your own wallet.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Step 1: Install MetaMask
|
||||||
|
|
||||||
|
1. Go to the official MetaMask website: [https://metamask.io](https://metamask.io)
|
||||||
|
2. Click on **"Download"**.
|
||||||
|
3. Choose your platform:
|
||||||
|
- **Browser Extension**: Chrome, Firefox, Brave, Edge
|
||||||
|
- **Mobile App**: iOS or Android
|
||||||
|
4. Install the extension or app.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Step 2: Create a New Wallet
|
||||||
|
|
||||||
|
1. Open MetaMask.
|
||||||
|
2. Click on **"Get Started"**.
|
||||||
|
3. Select **"Create a Wallet"**.
|
||||||
|
4. Set a **strong password** for local access. This password is used to unlock your wallet on your device.
|
||||||
|
5. Click **"Create"**.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Step 3: Backup Your Secret Recovery Phrase
|
||||||
|
|
||||||
|
1. MetaMask will display a **12-word Secret Recovery Phrase**. This is extremely important.
|
||||||
|
2. Write it down on paper and **store it securely**.
|
||||||
|
⚠️ **Never share your recovery phrase with anyone.**
|
||||||
|
3. Confirm the recovery phrase by selecting the words in order.
|
||||||
|
4. Click **"Confirm"**.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Step 4: Access Your Wallet
|
||||||
|
|
||||||
|
1. Once confirmed, your wallet is ready.
|
||||||
|
2. You can view your wallet address by clicking on **Account 1** at the top.
|
||||||
|
3. This address can be shared to **receive crypto**.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Step 5: Add Funds to Your Wallet
|
||||||
|
|
||||||
|
1. Buy crypto from an exchange (like Coinbase, Binance, or WazirX).
|
||||||
|
2. Transfer it to your MetaMask wallet address.
|
||||||
|
3. Wait for the transaction to be confirmed.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Step 6: Use Your Wallet for Transactions
|
||||||
|
|
||||||
|
- **Send crypto:** Click **Send**, enter the recipient’s address and amount.
|
||||||
|
- **Receive crypto:** Share your wallet address.
|
||||||
|
- **Interact with dApps:** Connect MetaMask to decentralized applications by clicking **Connect Wallet** on supported websites.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Step 7: Security Tips
|
||||||
|
|
||||||
|
- **Never share your password or Secret Recovery Phrase.**
|
||||||
|
- Enable **two-factor authentication (2FA)** on exchange accounts.
|
||||||
|
- Keep MetaMask updated to the latest version.
|
||||||
|
- Consider using **hardware wallets** for storing large amounts of crypto.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## References
|
||||||
|
|
||||||
|
- [MetaMask Official Website](https://metamask.io)
|
||||||
|
- [MetaMask User Guide](https://metamask.zendesk.com/hc/en-us)
|
||||||
Reference in New Issue
Block a user