Author: Gaurav Goyal

  • Web3 Developer – Basics

    Terminologies

    Web3/ Web 3.0: The Internet is built upon the core concepts of decentralization, openness, and greater user utility. Read
    Blockchain: This is a digitally distributed, decentralized, public ledger that exists across a network.
    Mainnet: A production blockchain, tokens can only be exchanged/purchased.
    Testnet: A staging/testing blockchain. Tokens on this chain are available for free.
    Contract/Smart Contract: A program that runs on the Ethereum blockchain.
    Solidity: A language designed to create Ethereum Smart Contracts. Docs
    Wallet: Consumer Definition https://ethereum.org/en/wallets/ | Techincal Version https://cryptobook.nakov.com/symmetric-key-ciphers/ethereum-wallet-encryption
    Block Explorer: A website where you can view blockchain transactions on the web. Ethereum Mainnet Block Explorer https://etherscan.io/
    Faucet: An app or website that distributes crypto in lieu of completing a task. Free crypto ?

    Setup & Learn

    Noteworthy

    OpenZepplin is the go-to library for secure smart contract development.
    https://github.com/OpenZeppelin/openzeppelin-contracts

    Token Standards:
    ERC20: Coins like Dogecoin, and USDC follow this standard. https://ethereum.org/en/developers/docs/standards/tokens/erc-20/
    ERC721: NFTs. Period. https://ethereum.org/en/developers/docs/standards/tokens/erc-721/

    You will find the base token standard code in the OpenZepplin library and much more as you start reading the contracts. Spend as much time as you can writing new contracts and reading various standards and contracts.
    https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol


    As a practice, start bookmarking whatever trustworthy links you find and have done your research, the Internet is a dark and untrustworthy place, you have to start relying more on the blue star in your browser to ensure you are on the right website. Scammers do usually run google ads on popular web3 products/websites and one misclick and you can compromise all of your security.

    Stay Safe
    Join Zo World Discord Server to join Most Exclusive Travel Club on Web3 and connect with other Crypto Enthusiasts.
  • Engineers Vs Universe

    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
    Rick CookThe Wizardry Compiled

  • Automating back-up of your Google Drive on S3

    Problem Statement:  I am working with a lot of freelancers for various small creative and content related work but they usually share the completed work as a folder in Google drive. Keep in mind that they are the owner of this folder. After 1 week or so the freelancer is no longer is tasked with us and decides to free up his drive and delete this folder.
    I want to mitigate this problem. There are various ways to approach this:
    1. Ask the freelancer to transfer ownership and then keep the folder safe.
    2.  Download and backup the shared folder whenever you receive a submission.
    3. Automate the backing up process as secondary storage.
    Of course, ‘automation’ wins, as not only it removes the hassle from both the concerned parties but you have a secondary backup for long-term retrieval and safekeeping as well.

    Let’s get to it.

    First, set up a VM on Google Cloud, you can use AWS or any other service. I used GC because they have f1.micro(0.6GB Memory, 1 shared vCPU) always free. Not using Google’s Storage because they haven’t added GUI to it, yet.

    In the GCP Console, go to the VM Instances page. Launch Instance.
    Follow this quickstart guide for starting the VM. https://cloud.google.com/compute/docs/quickstart-linux
    (more…)