Understanding Hedera for EVM Developers | Hedera (2024)

Hedera vs Ethereum

While Hedera strives for EVM equivalence, it's important to recognize certain unique aspects and fundamental differences in its network architecture and operations, such as the handling of state data structures, hashing algorithms, and the management of accounts and transactions. These distinctions in network behaviors are intentional design choices made to align with EVM standards, thereby achieving EVM compatibility. This approach ensures that while Hedera aligns closely with Ethereum, it also maintains its distinctive features and optimization.

Network and Security Differences

FunctionHederaEthereum

Network State Data Structure

Virtual Merkle Tree

Merkle Patricia Trie

Hashing Algorithm

SHA-384

Keccak-256*

Security

High security with aBFT

Secure with decentralized PoS network

*Note: Hedera'a EVM supports Keccak-256. Transactions received through EthereumTransaction (via the JSON-RPC relay) are hashed using Keccak-256. Only transactions using ED25519 keys through the Hedera API (HAPI) are hashed using SHA-384.

Account and Authorization Differences

FunctionHederaEthereum

Authorization Signatures

Used for transaction authorization outside of smart contracts

Typically used within smart contracts

Special System Accounts

Available with unique properties

Not available

Non-ECDSA Accounts

Non-ECDSA accounts (such as ED or multi-key) are supported by Hedera and

ECDSA accounts are fully compatible

ECDSA accounts are supported by Ethereum and non-ECDSA accounts are not supported/compatible

Account Deletion

Possible

Not possible

Contract and Gas Differences

FunctionHederaEthereum

Data Return on Static Calls

Data retrieval must be done through the relay

Data returned directly

Gas Fees

Charges at least 80% of gas fees regardless of transaction outcome

Gas fees depend on transaction outcome but typically 100% of the gas fees are charged and the unused portion is credited back

Contract Lifecycle

Contract entities can expire, rent fees may apply

No expiration or rent fees

Transactions and Queries Differences

FunctionHederaEthereum

Transaction Size Limit

6kb

No limit

Transaction Throttling

Transactions pending until future submission

Query Costs

Not free, can use mirror node for free queries

Free read-only calls

Mempools

Mempools available

Cost

Low, predictable fees (fraction of a cent)

Variable, often high gas fees

RPC Endpoint and Communication Differences

FunctionHederaEthereum

RPC Block Requests (e.g., eth_getBlockByHash* & eth_getBlockByNumber )

Return zero 32bytes hexadecimal value for the stateRoot

Returns the stateRoot hexadecimal value of the final state trie of the block

Communication

Requires communication with both consensus and mirror nodes

Direct communication with nodes

Note: Hedera Consensus and mirror nodes do not provide Ethereum RPC API endpoints.

Token and Fee Differences

FunctionHederaEthereum

Native Tokens

Supports native tokens in addition to ERC-20 and ERC-721 token standards

All ERC token standards but primarily ERC-20 and ERC-721 tokens.

Fee Structure

Single gas price

Token Association**

No concept of token association

Keys for Token Functionality

Keys control access to token functionality (KYC, FREEZE, WIPE, supply, fee, and PAUSE)

No equivalent native functionality

**Note: Token Association only applies to native HTS tokens and does not affect ERC-20/721 tokens.

Other Differences

FunctionHederaEthereum

Precheck Failures

Typically single failure reason

HBAR Decimal Precision

Consistent 18 point decimal precision

Last updated

Understanding Hedera for EVM Developers | Hedera (2024)
Top Articles
Budgeting for cost of living crisis - Navigating Baby
Jobs For Retired People - Medicare Life Health - part time / passive income
Dannys U Pull - Self-Service Automotive Recycling
What is Mercantilism?
Algebra Calculator Mathway
Chelsea player who left on a free is now worth more than Palmer & Caicedo
How to change your Android phone's default Google account
When is streaming illegal? What you need to know about pirated content
His Lost Lycan Luna Chapter 5
Tap Tap Run Coupon Codes
Calamity Hallowed Ore
Noaa Weather Philadelphia
OnTrigger Enter, Exit ...
Xm Tennis Channel
Becky Hudson Free
Tiraj Bòlèt Florida Soir
Obituary Times Herald Record
Mycarolinas Login
Shuiby aslam - ForeverMissed.com Online Memorials
David Turner Evangelist Net Worth
U/Apprenhensive_You8924
Committees Of Correspondence | Encyclopedia.com
Nhl Wikia
Sound Of Freedom Showtimes Near Cinelux Almaden Cafe & Lounge
The Ultimate Guide to Extras Casting: Everything You Need to Know - MyCastingFile
Pecos Valley Sunland Park Menu
Encyclopaedia Metallum - WikiMili, The Best Wikipedia Reader
Deshuesadero El Pulpo
BJ 이름 찾는다 꼭 도와줘라 | 짤방 | 일베저장소
Workshops - Canadian Dam Association (CDA-ACB)
Dove Cremation Services Topeka Ks
My Reading Manga Gay
Possum Exam Fallout 76
Bad Business Private Server Commands
UPS Drop Off Location Finder
School Tool / School Tool Parent Portal
Instafeet Login
Gun Mayhem Watchdocumentaries
Immobiliare di Felice| Appartamento | Appartamento in vendita Porto San
Sechrest Davis Funeral Home High Point Nc
Arch Aplin Iii Felony
877-552-2666
Graduation Requirements
Bank Of America Appointments Near Me
Verizon Forum Gac Family
Rovert Wrestling
Heat Wave and Summer Temperature Data for Oklahoma City, Oklahoma
Electric Toothbrush Feature Crossword
Verilife Williamsport Reviews
Buildapc Deals
Latest Posts
Article information

Author: Melvina Ondricka

Last Updated:

Views: 5659

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Melvina Ondricka

Birthday: 2000-12-23

Address: Suite 382 139 Shaniqua Locks, Paulaborough, UT 90498

Phone: +636383657021

Job: Dynamic Government Specialist

Hobby: Kite flying, Watching movies, Knitting, Model building, Reading, Wood carving, Paintball

Introduction: My name is Melvina Ondricka, I am a helpful, fancy, friendly, innocent, outstanding, courageous, thoughtful person who loves writing and wants to share my knowledge and understanding with you.