16 releases (breaking)

new 0.12.1 Mar 27, 2025
0.11.0 Jan 22, 2025
0.10.0 Sep 26, 2024
0.9.0 Jul 18, 2024
0.3.1 Mar 26, 2024

#56 in #pallet

Download history 25842/week @ 2024-12-04 22215/week @ 2024-12-11 17857/week @ 2024-12-18 6088/week @ 2024-12-25 18076/week @ 2025-01-01 22744/week @ 2025-01-08 33143/week @ 2025-01-15 28879/week @ 2025-01-22 25570/week @ 2025-01-29 27297/week @ 2025-02-05 38643/week @ 2025-02-12 24347/week @ 2025-02-19 4133/week @ 2025-02-26 3534/week @ 2025-03-05 3812/week @ 2025-03-12 2567/week @ 2025-03-19

15,527 downloads per month
Used in 18 crates (4 directly)

Apache-2.0 and GPL-3.0-only

3MB
50K SLoC

Ethereum System

Contains management functions to manage functions on Ethereum. For example, creating agents and channels.

Release

Polkadot SDK Stable 2412


lib.rs:

Governance API for controlling the Ethereum side of the bridge

Extrinsics

Agents

Agents are smart contracts on Ethereum that act as proxies for consensus systems on Polkadot networks.

The create_agent extrinsic should be called via an XCM Transact instruction from the sibling parachain.

Channels

Each sibling parachain has its own dedicated messaging channel for sending and receiving messages. As a prerequisite to creating a channel, the sibling should have already created an agent using the create_agent extrinsic.

Governance

Only Polkadot governance itself can call these extrinsics. Delivery fees are waived.

Typically, Polkadot governance will use the force_transfer_native_from_agent and force_update_channel and extrinsics to manage agents and channels for system parachains.

Polkadot-native tokens on Ethereum

Tokens deposited on AssetHub pallet can be bridged to Ethereum as wrapped ERC20 tokens. As a prerequisite, the token should be registered first.

Dependencies

~24–39MB
~678K SLoC