#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

#315 in #polkadot

Download history 37/week @ 2024-11-13 17/week @ 2024-11-20 49/week @ 2024-11-27 65/week @ 2024-12-04 50/week @ 2024-12-11 24/week @ 2024-12-18 29/week @ 2025-01-01 69/week @ 2025-01-08 32/week @ 2025-01-15 84/week @ 2025-01-22 53/week @ 2025-01-29 118/week @ 2025-02-05 157/week @ 2025-02-12 55/week @ 2025-02-19 36/week @ 2025-02-26

375 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

~22–33MB
~499K SLoC