ismp-grandpa

Crates.ioismp-grandpa
lib.rsismp-grandpa
version
sourcesrc
created_at2024-09-19 18:00:22.438701
updated_at2024-12-10 13:59:16.108654
descriptionGRANDPA consensus client for pallet-ismp
homepagehttps://docs.hyperbridge.network/developers/polkadot/getting-started
repositoryhttps://github.com/polytope-labs/hyperbridge
max_upload_size
id1380561
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
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: 710

cargo fmt