5 stable releases

new 15.0.0 Jan 10, 2025
1.15.4 Dec 19, 2024
1.15.3 Dec 10, 2024
1.15.1 Oct 15, 2024
1.15.0 Sep 19, 2024

#42 in Magic Beans

Download history 25/week @ 2024-09-22 8/week @ 2024-09-29 2/week @ 2024-10-06 147/week @ 2024-10-13 6/week @ 2024-10-20 13/week @ 2024-11-03 1/week @ 2024-11-10 36/week @ 2024-11-17 3/week @ 2024-11-24 25/week @ 2024-12-01 460/week @ 2024-12-08 220/week @ 2024-12-15 12/week @ 2024-12-22 15/week @ 2024-12-29 138/week @ 2025-01-05

400 downloads per month

Apache-2.0

255KB
4.5K SLoC

ISMP GRANDPA Consensus Client

This allows standalone chains communicate with Hyperbridge over ISMP.

The consensus client relies on a pallet which stores a list of parachains and State machine identifiers authorized to use this client.

Overview

The Pallet allows the AdminOrigin configured in pallet-ismp to dispatch calls for adding and removing substrate-based chains from the pallet whitelist.

Setting up

When using this consensus client the following should be done in order:

  • Create the consensus state using create_consensus_client

  • The supported state machine identifiers should be whitelisted in the pallet by calling add_state_machines from the AdminOrigin.

Note

If a state machine identifier is not found in the whitelist, ismp datagrams from that chain will be rejected.

Dispatchable Functions

  • add_state_machines - Adds some standalone chain state machine identifiers to the whitelist.
  • remove_state_machines - Removes some standalone chain state machine identifiers from the whitelist.

License

This library is licensed under the Apache 2.0 License, Copyright (c) 2025 Polytope Labs.

Dependencies

~22–37MB
~606K SLoC