Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 12, 2021 02:34 pm GMT

Blockchain with Solidity: What to Learn First

Getting started in a blockchain development environment can feel completely foreign, especially if you are coming from web development.

Here is an overview of some key items I had to learn about in my first few days with Solidity:

Web3

Web3 is a term you will see often. In broad terms, it refers to certain interfaces and tools that make it easy to integrate with crypto wallets (like Metamask) and other blockchain-related functionality. There are a growing number of libraries that expose Web3 functionality in different dev environments.

Metamask

Metamask is currently the standard browser-based wallet to use while learning blockchain development. It has built-in integration with IDE and Testnet environments (more on this below) which makes it easy to acquire and use test Ether.

Gas

  • You have to pay gas (ether) to "change" the blockchain. This includes making a payment transaction, updating the state of a smart contract, or deploying a smart contract.
  • Consider your gas payment to be the transaction fee paid to the miners running the network
  • Your Solidity code should be optimized to reduce gas cost.

Remix and Hardhat

  • Remix is an online IDE for compiling and deploying contracts written in Solidity. It is the quickest way to start working with smart contracts.
  • Hardhat is a framework for doing blockchain development in a local environment. It can also deploy to live and testnet environments.

Testnets and Testnet Faucets

  • Testnets are test blockchain environments. Use them to deploy and test smart contracts without having to spend real crypto on gas.
  • Testnet Faucets will send cryptocurrency to your Metamask wallet which can be used on the Testnet environments.

ERC-20

This is a spec for implementing fungible tokens. Read about it here

ERC-721

This is a spec for implementing non-fungible tokens. Read about it here

I hope this list can save some time for anyone else out there learning Solidity. Let me know in the comments if there is something you think I should add.


Original Link: https://dev.to/groos/learning-blockchain-with-solidity-what-i-googled-first-25o6

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To