signet-bundle

Crates.iosignet-bundle
lib.rssignet-bundle
version0.10.2
created_at2025-03-11 17:37:42.987311+00
updated_at2025-09-25 16:30:22.147904+00
descriptionSignet bundle library for creating and simulating Signet bundles.
homepagehttps://github.com/init4tech/signet-sdk
repositoryhttps://github.com/init4tech/signet-sdk
max_upload_size
id1588258
size180,553
James Prestwich (prestwich)

documentation

README

signet-bundle

This crate contains utilities for working with flashbots-style bundles. Bundles are sets of transactions that are submitted to a builder as a unit. Builders are required to treat bundles as atomic, meaning that transactions must be included and succeed to fail as a unit.

What's new in Signet?

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.

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 and SignetEthBundle
  • JSON-RPC response formats for the bundle endpoints.
    • signet_simBundle via SignetCallBundleResponse.
    • signet_sendBundle via SignetEthBundleResponse.
  • A trevm driver capable of simulating SignetCallBundle and producing a SignetCallBundleResponse.
Commit count: 113

cargo fmt