ismp-grandpa

Crates.ioismp-grandpa
lib.rsismp-grandpa
version1.15.1
sourcesrc
created_at2024-09-19 18:00:22.438701
updated_at2024-10-15 11:43:22.864607
descriptionGRANDPA consensus client for pallet-ismp
homepagehttps://docs.hyperbridge.network/developers/polkadot/integration
repositoryhttps://github.com/polytope-labs/hyperbridge
max_upload_size
id1380561
size22,571
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) 2024 Polytope Labs.

Commit count: 705

cargo fmt