Sunday, June 21, 2026
No Result
View All Result
Crypeto News
  • Home
  • Bitcoin
  • Crypto Updates
    • General
    • Blockchain
    • Ethereum
    • Altcoin
    • Mining
    • Crypto Exchanges
  • NFT
  • DeFi
  • Web3
  • Metaverse
  • Analysis
  • Regulations
  • Scam Alert
  • Videos
CRYPTO MARKETCAP
  • Home
  • Bitcoin
  • Crypto Updates
    • General
    • Blockchain
    • Ethereum
    • Altcoin
    • Mining
    • Crypto Exchanges
  • NFT
  • DeFi
  • Web3
  • Metaverse
  • Analysis
  • Regulations
  • Scam Alert
  • Videos
CRYPTO MARKETCAP
Crypeto News
No Result
View All Result

Diamonds & Facets: Increasing Interoperability on Ethereum – A Simple Explanation

by crypetonews
April 28, 2023
in Ethereum
Reading Time: 3 mins read
0 0
A A
0
Home Ethereum
Share on FacebookShare on Twitter



Introduction

Diamonds are a novel approach to how smart contracts can interact with one another. They enable splitting functions across multiple contracts, but keeping all of those functions accessible from the same, single place.

Here's a summary with everything you should know.

https://preview.redd.it/hf4dhrvq5nwa1.png?width=500&format=png&auto=webp&s=59017da53babe4cc494235be6a17374b68f66407

How Smart Contracts Communicate

Contracts on Ethereum today can communicate with each other using a function named “delegateCall.” This is a function in some contracts that calls on a function in a different contract, and executes it.

​

How Diamonds Increase Interoperability

This same delegateCall method can be used to instead spread functionality over multiple smart contracts, enabling people to reuse functions in different contracts like libraries. The system for how these contracts are structured is what Diamonds introduces through EIP-2535.

EIP-2535 is a framework with two types of contracts: Diamonds and Facets.

The metaphor is helpful here; diamonds are the main object, and facets are their various faces. Diamonds are the directories of smart contracts, each with potentially many facets; Each smart contract referenced in a diamond is a facet.

https://preview.redd.it/0zihcbrv5nwa1.png?width=500&format=png&auto=webp&s=59c8300580fbd8874e1dc67e6493dab4eee73589

How Diamonds Work

Diamonds are contracts that only contain a fallback function. Fallback functions are most commonly used as a failsafe; when a contract receives a transaction with a request that does not match what it can do, it calls the fallback function. Since Diamonds only contain a fallback function and nothing else, every transaction it receives will be one that does not match what it can do. The Diamond can do nothing, it can only fallback.

​

https://preview.redd.it/wy6uvfzy5nwa1.png?width=613&format=png&auto=webp&s=3198be3df96af1d249ac5bd612a4c18ae6fc1871

Inside a Diamond’s fallback function is the directory of Facets it can call upon. The data inside the transaction a Diamond receives determines which of these facets should be called upon. The facet is then executed, and any relevant data is stored with the Diamond contract.

​

What Facets Do

Facets are smart contracts that exist to be called by Diamonds. They provide specific functionality that can be useful to a variety of apps, and can be used by any or all of them.

They contain code only, all the data they compute is stored in the Diamonds that call them.

https://preview.redd.it/b5b2ev316nwa1.png?width=1000&format=png&auto=webp&s=0ff28f5fcd8db2405969543a3836d2051a80d6a0

​

​

This is a summary of a full write-up from my free newsletter!

Visit using the link below to learn more about blockchain, and consider signing up to be notified when a new piece is up!

Stay kind. Stay curious.

​

https://ramiwrites.substack.com/p/diamonds-and-facets-increasing-interoperability?sd=pf

submitted by /u/phillistine [comments]



Source link

Tags: ampDiamondsethereumExplanationFacetsIncreasingInteroperabilitySIMPLE
Previous Post

FinovateEurope Talks: Founders’ Stories – Finovate

Next Post

Neutronpay Launches Bitcoin Lightning App In Canada, Partners With Ditobanx For Remittances To El Salvador

Related Posts

Protocol Update 002 – Scale Blobs
Ethereum

Protocol Update 002 – Scale Blobs

August 22, 2025
Reddit AMA #77 with $VERB Chairman Manny Stotz — Digital Treasuries, BTC/ETH/TON, and Market Impact
Ethereum

Reddit AMA #77 with $VERB Chairman Manny Stotz — Digital Treasuries, BTC/ETH/TON, and Market Impact

August 20, 2025
Trillion Dollar Security – Phase 2
Ethereum

Trillion Dollar Security – Phase 2

August 20, 2025
Join Us: EF Protocol Reddit AMA – August 29th, 2025
Ethereum

Join Us: EF Protocol Reddit AMA – August 29th, 2025

August 15, 2025
Protocol Update 001 – Scale L1
Ethereum

Protocol Update 001 – Scale L1

August 5, 2025
lean Ethereum | Ethereum Foundation Blog
Ethereum

lean Ethereum | Ethereum Foundation Blog

July 31, 2025
Next Post
Neutronpay Launches Bitcoin Lightning App In Canada, Partners With Ditobanx For Remittances To El Salvador

Neutronpay Launches Bitcoin Lightning App In Canada, Partners With Ditobanx For Remittances To El Salvador

DVT’s Multi-Sig For Validators Takes Ethereum Staking To New Heights

DVT's Multi-Sig For Validators Takes Ethereum Staking To New Heights

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

RECOMMENDED

No Content Available

  • USD
  • EUR
  • GBP
  • AUD
  • JPY
  • bitcoinBitcoin(BTC)
    $64,343.001.53%
  • ethereumEthereum(ETH)
    $1,735.951.75%
  • tetherTether(USDT)
    $1.00-0.02%
  • binancecoinBNB(BNB)
    $589.621.68%
  • usd-coinUSDC(USDC)
    $1.000.00%
  • rippleXRP(XRP)
    $1.150.85%
  • solanaSolana(SOL)
    $73.535.22%
  • tronTRON(TRX)
    $0.3260721.21%
  • Figure HelocFigure Heloc(FIGR_HELOC)
    $1.030.00%
  • HyperliquidHyperliquid(HYPE)
    $69.741.33%
  • Trending
  • Comments
  • Latest
4 Expert Tips to Turn Blank Pages Into Business Blueprints

4 Expert Tips to Turn Blank Pages Into Business Blueprints

October 21, 2024
Top Crypto Portfolio Rebalancing Tools (Automated & Manual)

Top Crypto Portfolio Rebalancing Tools (Automated & Manual)

April 13, 2025
What are Meta Transactions? Exploring ERC-2771

What are Meta Transactions? Exploring ERC-2771

October 25, 2023
How to Set Up NFT Sales Notifications

How to Set Up NFT Sales Notifications

October 19, 2023
Uniswap v4 Teases Major Updates for 2025

Uniswap v4 Teases Major Updates for 2025

January 2, 2025
How to Bridge Avalanche (AVAX) to Fantom (FTM)?

How to Bridge Avalanche (AVAX) to Fantom (FTM)?

November 11, 2022
AI Expert: Truth Protocols Could Become the SSL of the Information Age

AI Expert: Truth Protocols Could Become the SSL of the Information Age

August 24, 2025
Analyst Says Dogecoin Price Is Entering Expansion Phase, Here’s What It Means

Analyst Says Dogecoin Price Is Entering Expansion Phase, Here’s What It Means

August 24, 2025
Robert Kiyosaki Exposes Brutal Truth Behind Sudden Wealth and Collapse

Robert Kiyosaki Exposes Brutal Truth Behind Sudden Wealth and Collapse

August 24, 2025
Ethereum’s Tech Edge Could Outshine Bitcoin — Here’s How

Ethereum’s Tech Edge Could Outshine Bitcoin — Here’s How

August 23, 2025
IRS Loses Top Crypto Enforcer After Only 90 Days on the Job

IRS Loses Top Crypto Enforcer After Only 90 Days on the Job

August 23, 2025
US Court Grants Stay In Coinbase Biometric Data Lawsuit — Details

US Court Grants Stay In Coinbase Biometric Data Lawsuit — Details

August 23, 2025
Crypeto News

Find the latest Bitcoin, Ethereum, blockchain, crypto, Business, Fintech News, interviews, and price analysis at Crypeto News.

CATEGORIES

  • Altcoin
  • Analysis
  • Bitcoin
  • Blockchain
  • Crypto Exchanges
  • Crypto Updates
  • DeFi
  • Ethereum
  • Metaverse
  • Mining
  • NFT
  • Regulations
  • Scam Alert
  • Uncategorized
  • Videos
  • Web3

LATEST UPDATES

  • AI Expert: Truth Protocols Could Become the SSL of the Information Age
  • Analyst Says Dogecoin Price Is Entering Expansion Phase, Here’s What It Means
  • Robert Kiyosaki Exposes Brutal Truth Behind Sudden Wealth and Collapse
  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us
  • About Us

Copyright © 2022 Crypeto News.
Crypeto News is not responsible for the content of external sites.

No Result
View All Result
  • Home
  • Bitcoin
  • Crypto Updates
    • General
    • Blockchain
    • Ethereum
    • Altcoin
    • Mining
    • Crypto Exchanges
  • NFT
  • DeFi
  • Web3
  • Metaverse
  • Analysis
  • Regulations
  • Scam Alert
  • Videos

Copyright © 2022 Crypeto News.
Crypeto News is not responsible for the content of external sites.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In