Facet V2 Architecture
Facet has these components:
Standard Ethereum Node: maintains current state of Ethereum L1.
Facet Node
Talks to the Ethereum node to get every Ethereum call in every block (via
debug_traceBlockByNumber
).Examines each call to determine whether it is a valid Facet Transaction.
For each call that is, constructs and delivers payload for Facet Geth (using the Engine API).
Facet Geth
A fork of go-ethereum.
Communicates only with Facet Node.
Computes Facet State from incoming Facet Node payloads.
Each step is deterministic:
All Ethereum nodes deterministically arrive at the same state.
Each Facet Node will construct the same Facet Payloads given the same underlying Ethereum state.
go-ethereum processes incoming transactions deterministically according to EVM rules.
All Facet State is unambiguously determined by Ethereum's transaction history. This is what makes Facet a rollup.
Facet Apps read from Facet node and write Facet transactions to Ethereum (see Facet Transaction Structure).
Developers accustomed to the Ethereum ecosystem will find it easy to build on Facet, as the same tools and workflows apply. This includes using Solidity for smart contract development, standard Ethereum testnets for testing, and popular IDEs like Remix.
Last updated