14 releases (breaking)

0.10.0 Sep 26, 2024
0.9.0 Jul 18, 2024
0.8.0 Jul 12, 2024
0.3.1 Mar 26, 2024

#80 in #ethereum

Download history 355/week @ 2024-07-02 494/week @ 2024-07-09 665/week @ 2024-07-16 580/week @ 2024-07-23 559/week @ 2024-07-30 192/week @ 2024-08-06 396/week @ 2024-08-13 631/week @ 2024-08-20 342/week @ 2024-08-27 128/week @ 2024-09-03 287/week @ 2024-09-10 148/week @ 2024-09-17 326/week @ 2024-09-24 387/week @ 2024-10-01 497/week @ 2024-10-08 758/week @ 2024-10-15

2,007 downloads per month
Used in 4 crates

Apache-2.0 and GPL-3.0-only

2.5MB
46K SLoC

Ethereum System

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

Release

Polkadot SDK stable2409


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

~22–37MB
~639K SLoC