Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ashucoder9 authored Sep 9, 2024
2 parents 2535d36 + f1b8445 commit 5db2159
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,20 @@ When building a VM, it is possible to define certain parameters that can change

This is a massive advantage over one-chain-fits-all systems, where the parameters have to be a compromise between all network participants. In Avalanche it is possible to have different blockchain with the same VM, but different parameters.

Using VM Configuration we can easily create EVM-chains for different use cases such as trading an cheap gaming NFT or valuable Real estate on chain. These blockchains may differ in fees (low fees for cheap NFTs, high fees for valuable goods) and security levels (low security for cheap NFTs, high security for valuable goods).
Using VM Configuration we can easily create EVM-chains for different use cases such as trading a cheap gaming NFT or valuable Real estate on chain. These blockchains may differ in fees (low fees for cheap NFTs, high fees for valuable goods) and security levels (low security for cheap NFTs, high security for valuable goods).

<Quiz
quizId="vm-customization-configuration-01"
question="Can a Virtual Machine (VM) be used to create multiple blockchains?"
options={[
"Yes, the same VM can be used to create multiple blockchains",
"No, each blockchain requires a unique VM",
"Yes, but only if the blockchains are part of different networks"
]}
correctAnswers={[0]}
hint="Think about how a VM can be customized to create different blockchains."
explanation="You can think of a Virtual Machine (VM) as a blueprint for a blockchain, where the same VM can be used to create multiple blockchains. Each of these blockchains adheres to the same rules but remains logically independent from the others."
/>

<Quiz
quizId="vm-customization-configuration-01"
Expand Down Expand Up @@ -88,4 +101,4 @@ Using these parameters we VM can adapt the VM to our requirements without writin
}
```

You can find more examples of Genesis files [here](https://github.com/ava-labs/subnet-evm/tree/master/tests/precompile/genesis).
You can find more examples of Genesis files [here](https://github.com/ava-labs/subnet-evm/tree/master/tests/precompile/genesis).
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ When creating a VM, there are two very distinct design patterns, that greatly va

## Special Purpose VMs

Special Purpose VMs are highly optimized for a specific use case. The only allow a very limited set of operations closely knit to its use case. A popular example for this would be the VM of the Bitcoin blockchain. The operations are much more limited than the ones of the Ethereum Virtual Machines, hence it only allows transactions related to the transfer of BTC.
Special Purpose VMs are highly optimized for a specific use case. They only allow a very limited set of operations closely knit to its use case. A popular example for this would be the VM of the Bitcoin blockchain. The operations are much more limited than the ones of the Ethereum Virtual Machines, hence it only allows transactions related to the transfer of BTC.

## General Purpose

Expand All @@ -26,4 +26,4 @@ General Purpose VMs introduce another layer - commonly know as Smart Contracts o

One of the EVM's key features is its capability to execution of smart contracts in a deterministic and trustless manner, ensuring that the outcome of their execution is predictable and verifiable by all network participants. Developers can create decentralized applications and deploy them on the Ethereum blockchain.

This enables a wide range of use cases including decentralized finance (DeFi), tokenization, supply chain management, and more. The EVM's flexibility, security, and compatibility have made it a fundamental component of the Ethereum ecosystem, powering a vibrant and rapidly evolving ecosystem of decentralized applications and services.
This enables a wide range of use cases including decentralized finance (DeFi), tokenization, supply chain management, and more. The EVM's flexibility, security, and compatibility have made it a fundamental component of the Ethereum ecosystem, powering a vibrant and rapidly evolving ecosystem of decentralized applications and services.

0 comments on commit 5db2159

Please sign in to comment.