ismp-grandpa

Crates.ioismp-grandpa
lib.rsismp-grandpa
version2506.1.0
created_at2024-09-19 18:00:22.438701+00
updated_at2025-09-03 15:18:46.72337+00
descriptionGRANDPA consensus client for pallet-ismp
homepagehttps://docs.hyperbridge.network/developers/polkadot/getting-started
repositoryhttps://github.com/polytope-labs/hyperbridge
max_upload_size
id1380561
size487,700
Core Devs (github:polytope-labs:core-devs)

documentation

https://docs.rs/ismp-grandpa

README

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.

Commit count: 1069

cargo fmt