#substrate #polkadot #blockchain #crypto #command-line-tool #cli

app substrate-spec-version

A dead-simple CLI tool to get the spec version of a substrate-based blockchain from the specified websocket URL

1 unstable release

0.1.0 May 15, 2024

#302 in #substrate

23 downloads per month

MIT license

24KB

substrate-spec-version

Crates.io docs.rs Build Status MIT License

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.

Installation

cargo install substrate-spec-version

Usage

substrate-spec-version wss://rpc.polkadot.io
100200

Dependencies

~19–30MB
~469K SLoC