#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

#263 in #polkadot

Download history 35/week @ 2024-07-26 19/week @ 2024-08-02 22/week @ 2024-08-09 24/week @ 2024-08-16 33/week @ 2024-08-23 18/week @ 2024-08-30 42/week @ 2024-09-06 25/week @ 2024-09-13 39/week @ 2024-09-20 28/week @ 2024-09-27 29/week @ 2024-10-04 39/week @ 2024-10-11 41/week @ 2024-10-18 57/week @ 2024-10-25 40/week @ 2024-11-01 19/week @ 2024-11-08

171 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

~21–32MB
~475K SLoC