Flag Doc
  • Summary
  • DOCUMENTATION
    • Learn about the Flag Platform
      • Flag Overview: vision, strategy and platform components
      • The Flag Blockchain
        • Discovering the Network
        • Flag Consensus
        • Delegation through Staking with Validators
        • Ethereum (EVM) Compatibility and Smart Contracts
        • Boosting Flag's Scalability
      • Flag Coin (FLAG)
        • FLAG Tokenomics
        • Exchanges, Wallets, On-Ramps and DeFi Tools Supporting FLAG
        • FLAG on Other Chains
      • Interoperability
      • Flag Governance and Development
        • Flag Assembly
        • Flag Improvement Proposals (FIPs)
      • Wallets supporting Flag
    • Flag for Business
    • Things you can do on Flag
      • Interacting with the Flag Blockchain
      • Flag Ecosystem
      • Community
      • Grants and Bounties
  • Developers
    • Network Details
      • Flag Mainnet
      • Flag Testnet
      • Token Faucets
      • Network Upgrades
        • Upgrade Guide
        • Upgrade Guide (explorer nodes)
        • Block 13,800,000 Fork
        • FIP's
    • Flag Consensus
      • Contracts Overview
      • Stake, Delegate and Withdraw
      • Vote
      • End-of-Cycle Flow
      • Contract Addresses
    • How to run network nodes
    • Resources & Tools
      • TheGraph
      • WalletConnect on Flag
    • Important smart contracts
      • Flag Token
      • Major Deployed Contracts
      • Bridges
        • Ethereum ↔ Flag FLG20 Tokens
        • BSC ↔ Flag BNB
        • BSC ↔ Flag Native
        • BSC ↔ Flag FLG20
        • Ethereum ↔ Flag Native
    • How to become a validator
      • Getting started as a validator
      • Getting started as on the Flag testnet
  • Links
    • Discord
    • Facebook
    • GitHub
    • LinkedIn
    • Medium
    • Telegram
    • Twitter
    • YouTube
Powered by GitBook
On this page
  1. DOCUMENTATION
  2. Learn about the Flag Platform
  3. The Flag Blockchain

Ethereum (EVM) Compatibility and Smart Contracts

In addition to the information about the transactions processed by Flag, its nodes also permanently store and update the code and current state of smart contracts. Smart contracts are computer programs (persistent scripts) that anyone can interact with by sending transactions invoking them. Smart contracts also have their own accounts which can hold token balances.

On the network nodes, smart contracts are stored and executed in a special environment called 'virtual machine' (VM). The Flag blockchain is currently broadly compatible with Ethereum's virtual machine (EVM).

This means that any smart contract or decentralized application (dApp) that can be deployed on Ethereum or another EVM-compatible chain will also function if deployed on Flag, including the FLG20 and ERC721 standard-compatible contracts, for instance. No modification of the smart contract code is required.

PreviousDelegation through Staking with ValidatorsNextBoosting Flag's Scalability

Last updated 1 year ago