2 stable releases

16.0.0 Feb 3, 2025
15.0.1 Jan 28, 2025
1.15.4 Dec 19, 2024
1.15.1 Oct 15, 2024
1.15.0 Sep 19, 2024

#7 in #ismp

Download history 40/week @ 2025-01-01 209/week @ 2025-01-08 64/week @ 2025-01-15 109/week @ 2025-01-22 261/week @ 2025-01-29 394/week @ 2025-02-05 277/week @ 2025-02-12 107/week @ 2025-02-19 265/week @ 2025-02-26 107/week @ 2025-03-05 167/week @ 2025-03-12 124/week @ 2025-03-19 72/week @ 2025-03-26 75/week @ 2025-04-02 178/week @ 2025-04-09

465 downloads per month

Apache-2.0 and maybe GPL-3.0-only

490KB
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

~24–81MB
~1.5M SLoC