banner
[面包]MrTwoC

[面包]MrTwoC

你好,欢迎来到这个基于区块链的个人博客 名字:面包 / MrTwoc 爱好:跑步(5/10KM)、咖啡、游戏(MMORPG、FPS、Minecraft、Warframe) 兴趣方向:Rust、区块链、网络安全、量子信息(量子计算)、游戏设计与开发
bilibili
steam
email
github

Solidity.2.EVM Compatible Chains and Networks

https://decert.me/tutorial/solidity/ethereum/evm_network
In the Ethereum ecosystem, a series of blockchains compatible with the Ethereum Virtual Machine (EVM) and different networks have emerged, which have had a significant impact on blockchain development and applications. To better understand these concepts, let's explain them in detail.

Compatible Chains#

Designing and implementing blockchains compatible with the EVM allows for the execution of smart contracts, using the same programming language and tools as the EVM.
This makes it easier for developers to migrate dapps to these chains without major modifications. Currently, there are compatible chains such as Polygon, BNB Chain (BSC), OK Chain, Avalanche C Chain, Fantom, etc.
Each compatible chain has its own native token and consensus mechanism, which can be used to pay for gas fees. Due to different design choices and competition, transaction fees are usually lower.
Layer2: Solutions like Arbitrum and Optimism, which are also EVM-compatible, operate as second-layer networks and differ from the main blockchains. These solutions are usually used to enhance the performance and throughput of blockchains.

Blockchain Networks#

Mainnet Network#

The real production environment where transactions are settled using real tokens. It is the place where actual value exchange occurs.

Test Networks#

Testing and developing on the mainnet can be very expensive, as every operation requires the payment of real gas fees. Test networks were created to provide developers with a platform to build and test smart contracts, where tokens on the test networks have no real value.

Developer Networks or Nodes#

These are virtual blockchain environments used for local blockchain development and testing, typically offering the following features:

  • Provides simulated blockchain data, including transactions and blocks.
  • Allows developers to create test accounts and allocate virtual tokens for testing purposes.
  • Enables development and testing without incurring real transaction costs.
/home/decert > npx hardhat node
Started HTTP and WebSocket JSON-RPC server at http://127.0.0.1:8545/

Accounts
========

WARNING: These accounts, and their private keys, are publicly known.
Any funds sent to them on Mainnet or any other live network WILL BE LOST.

Account #0: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 (10000 ETH)
Private Key: 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
...

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.