Crates.io | substrate-spec-version |
lib.rs | substrate-spec-version |
version | 0.1.0 |
source | src |
created_at | 2024-05-15 21:17:57.384184 |
updated_at | 2024-05-15 21:17:57.384184 |
description | A dead-simple CLI tool to get the spec version of a substrate-based blockchain from the specified websocket URL |
homepage | |
repository | https://github.com/sam0x17/substrate-spec-version |
max_upload_size | |
id | 1241517 |
size | 90,302 |
An extremely simple CLI utility that uses subxt to query a live substrate/polkadot-sdk-based blockchain based on the websocket URL for the blockchain and display the current spec version as output. Very useful for CI situations where knowing the live spec version on-chain is desirable.
cargo install substrate-spec-version
substrate-spec-version wss://rpc.polkadot.io
100200