Lakhwinder Singh Personal Blog

Web3 Week

Hack week hosted by MLH community.

Exploring Web3: My Journey Through Web3 Week

Last week, I had the opportunity to dive deep into the world of Web3 during the Web3 Week hosted by the MLH community. It was an exhilarating experience filled with learning, coding, and exploration of the decentralized web. Here’s a recap of the hacks I was a part of and the valuable lessons I learned along the way:

web3

1. Basic Smart Contract:

Our journey into Web3 started with building our very first smart contract using Solidity on Codedamn’s online editor. This simple yet foundational project taught me the basics of Ethereum Virtual Machine (EVM), gas, and smart contracts. By following the FreeCodeCamp tutorial, I gained insights into Solidity development and successfully deployed our contract on the Sepolia/Goerli testnet. This laid the groundwork for further exploration into blockchain development.

Key Learnings:

  • Understanding of EVM and gas in Ethereum transactions
  • Introduction to Solidity programming language
  • Deployment of smart contracts on testnets
  • Familiarization with Solidity development environment

Basic Smart Contract on Devpost

2. Programmable Wallet using Circle’s Web3 Services:

Next, we delved into the realm of programmable wallets with Circle’s Web3 API. Through RESTful APIs in Python, we learned how to store digital cryptocurrencies and facilitate wallet-to-wallet transactions. Despite facing challenges with fetching data from Circle Web3 APIs, we successfully transferred MATIC to a digital wallet, marking a significant accomplishment in our Web3 journey.

Key Learnings:

  • Utilization of RESTful APIs in Python
  • Setting up and working with programmable wallets using Circle’s Web3 API
  • Hands-on experience with Linux-based Curl
  • Conducting wallet-to-wallet transactions and managing blockchain assets

Programmable Wallet using Circle’s Web3 Services on Devpost

3. Hedera dapp:

Our exploration of Web3 culminated with the development of a decentralized app (dapp) utilizing Hedera JavaScript Hashgraph SDK. This project allowed us to perform basic transactions on the Hedera blockchain, including fund transfers between accounts. Despite encountering challenges with private key decoding, we overcame obstacles and successfully completed the project, laying the groundwork for future dapp development on the Hedera blockchain.

Key Learnings:

  • Setup of testnet accounts and generation of accounts programmatically
  • Fundamentals of transaction processing on the Hedera blockchain
  • Troubleshooting and debugging blockchain-related issues
  • Completion of a functional dapp utilizing Hedera blockchain

Hedera dapp on Devpost

4. Web3 APIs Challenge:

In this challenge, we explored Moralis Web3 Wallet API to fetch account balances on different blockchain networks. Utilizing Python, we interacted with the Wallet API to access multi-chain activity of an account address. This involved signing up for Moralis, creating a project, and utilizing the secret API key provided by Moralis. Through this challenge, we gained insights into Moralis Web3 API and the usage of APIs in general.

Key Learnings:

  • Understanding of Moralis Web3 API
  • Practical usage of APIs in fetching blockchain data
  • Integration possibilities for multi-chain functionality into existing projects

Web3 APIs Challenge on Devpost

5. NFT Creation:

Lastly, we explored the creation of non-fungible tokens (NFTs) using the OpenSea marketplace and Metamask wallet. With the rising popularity of NFTs, we embarked on a journey to create our first NFTs, including artwork and project logos. Through this experience, we gained insights into using AI tools for digital art creation, setting up Metamask Wallet, and minting NFTs on the OpenSea marketplace.

Key Learnings:

  • Utilization of AI tools for digital art creation
  • Setup and usage of Metamask Wallet for interacting with NFT marketplaces
  • NFT minting process on the OpenSea marketplace

NFT Creation on Devpost

With each hackathon, I gained valuable insights and hands-on experience in the rapidly evolving landscape of Web3 technologies. I look forward to continuing my journey and exploring new possibilities in the decentralized web. Stay tuned for more updates and insights from my exploration of Web3!