#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

#2090 in Magic Beans

Download history 143/week @ 2024-05-10 38/week @ 2024-05-17 7/week @ 2024-05-24

188 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

~20–31MB
~480K SLoC