Starknet Bridge protocol
Overview
The Starknet bridge rests on Starknet's L1-L2 messaging protocol, documented by StarkWare as an asynchronous and asymmetric system: contracts cannot await a result from the other layer within their own execution, and while L1-to-L2 messages are delivered automatically by the sequencer, L2-to-L1 messages must be manually consumed on Ethereum. For L2-to-L1, a Starknet contract calls the send_message_to_L1 syscall; the sequencer includes the sender, L1 recipient and payload in a block; after the prover validates the state update and the sequencer posts it to L1, the message hash is stored in the Starknet Core Contract, and the L1 recipient calls consumeMessageFromL2, which verifies that the message hashes match and that the caller is the intended recipient. For L1-to-L2, an L1 contract calls sendMessageToL2 on the Core Contract, and once enough L1 confirmations accumulate the sequencer automatically triggers an L2 transaction into an l1_handler-decorated function — with the L1 caller paying the fee in ETH so users need not interact with both layers. Costs are fixed and documented: 20,000 L1 gas to store an L2-to-L1 message hash, and 5,000 L1 gas for message consumption. To prevent sequencer denial-of-service, users can cancel an unprocessed L1-to-L2 message after a five-day waiting period. One notable limitation: l1_handler transactions cannot use account-related functions such as get_caller_address, which returns 0x0. This messaging layer is the foundation on which StarkGate, Starknet's canonical token bridge, and third-party bridges are built; the documentation read here covers the underlying protocol rather than StarkGate's specific mechanics.
Within the DeFi Intel graph, Starknet Bridge connects to 4 tracked entities, most strongly to Ethereum, STRK, OpenZeppelin.
Relations
Top connections in the DeFi Intel knowledge graph (confidence-weighted, 4 of 4 total).
| Relation | Connected entity | Confidence |
|---|---|---|
deployed_on | Ethereum | 95% |
supports_token | STRK | 95% |
audited_by | OpenZeppelin | 85% |
audited_by | Nethermind Security | 85% |
Frequently asked questions
What is Starknet Bridge?
Starknet Bridge is a canonical bridge tracked in the DeFi Intel knowledge graph. It is connected to 4 other tracked entities, most strongly to Ethereum, STRK, OpenZeppelin.
What type of entity is Starknet Bridge?
Starknet Bridge is classified as a canonical bridge (protocol) in the DeFi Intel knowledge graph.
What is Starknet Bridge connected to?
In the DeFi Intel knowledge graph, Starknet Bridge is linked to 4 other tracked entities, most strongly to Ethereum, STRK, OpenZeppelin.
Live news feed, full graph, and search.