EverKit – All about TVM blockchains
437 subscribers
2.33K photos
53 videos
2.78K links
EverKit team's channel about Everscale network

Our chat: @everkit_chat

Feedback: @everkit_bot
Download Telegram
Threaded Virtual Machine (TVM) ⚙️

The Everscale blockchain consists of a masterchain responsible for the overall state of the network, workchains, i.e. individual blockchains (their number can be increased linearly) and shards, i.e. segments of the workchain (several shards form a workchain).

TVM is a virtual machine used to execute the smart contract code in the masterchain and in the Workchain Zero. TVM is used in Everscale, Venom, GOSH and TON blockchains.

This is a stacking virtual machine. We operate data in a stack (operations like "sum up 2 topmost numbers in the stack" or "swap the 2nd and the 10th variables in the stack").

Peculiarities of TVM

The TVM, used to run smart contracts in the masterchain and Workchain Zero, is considerably different from customary designs inspired by the EVM (Ethereum Virtual Machine): it works not just with 256-bit integers, but actually with (almost) arbitrary “records”, “structures”, or “sum-product types”, making it more suitable to execute code written in high-level languages.

🔗 Original Whitepaper by Nikolai Durov
🔗 Everscale Virtual Machine description
🔗 List of instructions and corrections

#education #tvm #post
Please open Telegram to view this post
VIEW IN TELEGRAM
Gas in Everscale ⛽️

The unit of measure for computational work within the Everscale blockchain platform is Gas.

It allows calculating the required resource inputs for operations on the network. Like the fuel needed for any journey, gas can be called the «fuel» of the network.

Users performing various operations on the Everscale blockchain must pay a certain amount of gas (in EVER).

⬜️ Gas is paid for:
• network computing
• memory cells loading
• outgoing message creation
• incoming external-message — if user agrees to pay for it (the fee depends on the size of the message)
• code storage — each contract pays a «rent» for storing its code in the network (it occurs every time a user receives a transaction)

The amount of gas for the transaction depends on its complexity and the amount of resources.

#education #post
Please open Telegram to view this post
VIEW IN TELEGRAM