10 releases (6 breaking)

new 0.6.0 May 24, 2024
0.4.0 Apr 9, 2024
0.3.1 Mar 26, 2024

#1748 in Magic Beans

Download history 40/week @ 2024-02-08 137/week @ 2024-02-15 294/week @ 2024-02-22 146/week @ 2024-02-29 55/week @ 2024-03-07 332/week @ 2024-03-14 791/week @ 2024-03-21 324/week @ 2024-03-28 425/week @ 2024-04-04 145/week @ 2024-04-11 329/week @ 2024-04-18 276/week @ 2024-04-25 181/week @ 2024-05-02 85/week @ 2024-05-09 487/week @ 2024-05-16

1,045 downloads per month
Used in 2 crates

Apache-2.0 and GPL-3.0-only

2.5MB
45K SLoC

Ethereum System

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


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.

Dependencies

~21–36MB
~622K SLoC