signet-bundle
What’s in this crate?
This allows users and builders to simulate and validated the effects of conditional transactions. This crate provides
- Bundle formats via
SignetCallBundle
andSignetEthBundle
- JSON-RPC response formats for the bundle endpoints.
signet_simBundle
viaSignetCallBundleResponse
.signet_sendBundle
viaSignetEthBundleResponse
.
- A trevm driver capable of simulating
SignetCallBundle
and producing aSignetCallBundleResponse
.
Signet bundles behave like Flashbots bundles, however, Signet bundles contain Ethereum token movements in addition to Signet transactions.
Signet’s conditional transactions are a way to move tokens between chains. The conditional transactions on Signet confirm and succeed if and ONLY IF corresponding tokens move on Ethereum and Signet. This allows users to express complex trades across chains that execute and settle in the same block.
These conditional transactions require specialized handling by builders, and custom simulation logic. This crate provides utilities for simulating and validating the effects of conditional transactions.