16 releases (breaking)

0.12.0 Jan 14, 2025
0.10.0 Sep 26, 2024
0.9.0 Jul 18, 2024
0.3.1 Mar 26, 2024

#86 in #ethereum

Download history 680/week @ 2024-10-29 1029/week @ 2024-11-05 24711/week @ 2024-11-12 25478/week @ 2024-11-19 25472/week @ 2024-11-26 24822/week @ 2024-12-03 24063/week @ 2024-12-10 20490/week @ 2024-12-17 6304/week @ 2024-12-24 13086/week @ 2024-12-31 21976/week @ 2025-01-07 34530/week @ 2025-01-14 28621/week @ 2025-01-21 25107/week @ 2025-01-28 28347/week @ 2025-02-04 35420/week @ 2025-02-11

122,986 downloads per month
Used in 19 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

~23–38MB
~649K SLoC