-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
# State Bridge Spec | ||
|
||
The diagram above demonstrates the process of propagating World ID Merkle tree roots from the `WorldIDIdentityManager` contract (located in the world-id-contracts repository) on the Ethereum mainnet to the `LineaWorldID` contract | ||
The diagram above demonstrates the process of propagating World ID Merkle tree roots from the `WorldIDIdentityManager` | ||
contract (located in the world-id-contracts repository) on the Ethereum mainnet to the `LineaWorldID` contract | ||
|
||
World ID Merkle tree roots are retrieved from the `WorldIDIdentityManager` contract by invoking the `latestRoot()` public method. These roots are then sent to the LineaWorldID contract using its receiveRoot() method, facilitated by the propagateRoot() method. This process ensures that the Merkle tree roots are accurately and efficiently propagated from the `WorldIDIdentityManager` to the `LineaWorldID` contract. | ||
World ID Merkle tree roots are retrieved from the `WorldIDIdentityManager` contract by invoking the `latestRoot()` | ||
public method. These roots are then sent to the LineaWorldID contract using its receiveRoot() method, facilitated by the | ||
propagateRoot() method. This process ensures that the Merkle tree roots are accurately and efficiently propagated from | ||
the `WorldIDIdentityManager` to the `LineaWorldID` contract. | ||
|
||
## LineaStateBridge | ||
|
||
The LineaStateBridge contract is an integral component in the architecture designed to facilitate secure and efficient communication between Ethereum and Linea. it's primary purpose is to serve as a trusted intermediary that retrieves Merkle tree roots from the `WorldIDIdentityManager` contract on Ethereum and delivers them to the `LineaWorldID` contract on the Linea blockchain. This process ensures that state updates are accurately propagated across both blockchains. | ||
The LineaStateBridge contract is an integral component in the architecture designed to facilitate secure and efficient | ||
communication between Ethereum and Linea. it's primary purpose is to serve as a trusted intermediary that retrieves | ||
Merkle tree roots from the `WorldIDIdentityManager` contract on Ethereum and delivers them to the `LineaWorldID` | ||
contract on the Linea blockchain. This process ensures that state updates are accurately propagated across both | ||
blockchains. | ||
|
||
The propagation process incurs transaction fees on both the Ethereum and Linea blockchains. The `LineaStateBridge` manages these fees, requiring periodic transactions to be initiated and paid for by users or designated operators. This ensures the continued operation and data consistency of the system | ||
The propagation process incurs transaction fees on both the Ethereum and Linea blockchains. The `LineaStateBridge` | ||
manages these fees, requiring periodic transactions to be initiated and paid for by users or designated operators. This | ||
ensures the continued operation and data consistency of the system |