KardiaChain Docs
  • Introduction
  • Technology
    • Consensus
    • Kardia Virtual Machine (KVM)
    • Kardia Smart Contract Markup Language
    • Peer to Peer (P2P)
    • Onchain AI
    • NF3 Chip
  • For Users
    • KardiaChain Proposer Validator Selection Process
    • Staking
      • Validators
      • Delegators
      • Disciplines and Rewards
        • Disciplines
        • Rewards
    • Transaction Fee
    • Wallets
      • MetaMask Compatible
      • KardiaChain Mobile App Wallet
      • [Deprecated] KardiaChain Web Wallet
        • [Deprecated] KardiaChain Wallet Extension
  • For Developers
    • Tutorials
      • Platform
        • Running KardiaChain node
        • Private KardiaChain Network
        • KAI Integration for Exchanges
      • Smart contract development
        • Dev environment
          • Solidity
          • IDE and tools
            • Remix
            • Hardhat
            • Truffle
        • Contract verification
      • KRC20 Tokens
        • Deploying KRC20 Token
        • KRC20 token verification
      • KRC721 Tokens
        • Deploy KRC721 tokens
      • Building DApp
        • Frontend
        • Data indexing service
    • SDK
      • Web3
      • [Deprecated] KardiaChain JS SDK
      • [Deprecated] KardiaChain Golang SDK
    • RPC
      • JSON RPC API
    • KardiaID Service
      • KardiaID Service Design
      • KardiaID Service API
  • Archived Docs
    • Golang SDK
    • Network
    • KVM
    • System requirement
    • Deployment
      • Configuration
      • Local
      • Public testnet
      • Mainnet
    • KSML
    • Staking Overview
      • Delegation period
      • Consensus
      • Delegator
        • What is a delegator ?
        • Choose validator
        • Directive of delegator
        • Risk
      • Proposer selection procedure
      • Staking rewards and distributions
        • Block reward distributed
        • Fee distributed
      • Slashing and Jail
      • Rewards mechanism
      • Validator
        • What is a validator ?
        • The different states a validator
        • The responsibility of validator
        • The incentive run a validator
        • To become validator
    • KardiaChain Metamask (extension) Wallet
Powered by GitBook
On this page

Was this helpful?

  1. Technology

Kardia Virtual Machine (KVM)

What is Kardia Virtual Machine?

The Kardia Virtual Machine (KVM) is a powerful, sandbox virtual stack which embedded with each full node and responsible for executing the smart contract bytecode. KVM is slightly modified version of Ethereum Virtual Machine (EVM) which purpose to improve the performance and support multiple virtual machine stack. KVM is compatible with Solidity smart contract programming language.

What is Smart Contract?

The Smart Contract is the the immutable computer program that automatically executes all part of a agreement between the two parties. The Smart Contracts are written in a high-level programing language like solidity then compile to the bytecode for execution. The machine code is completely isolate from the network, file system, and any processes of the host computer, every node in the KardiaChain network runs a KVM instance which allows them to agree on executing a contract.

How Smart Contracts interact with KVM?

The KVM is essential because it allows the Smart Contracts to be executed on the trustless ecosystem. The result of the Smart Contracts execution will be guarantee and verifiable. For each of the instruction that implemented on the KVM will associate with a cost. The cost will be calculated in gas unit. For any transaction that will be executed, users require to have reserve KAI to pay for gas.

PreviousConsensusNextKardia Smart Contract Markup Language

Last updated 4 years ago

Was this helpful?