Files
pezkuwi-subxt/substrate/client/rpc/Cargo.toml
T
Bastian Köcher 7cdfaff12b Add new RPC method to get the chain type (#5576)
* Add new RPC method to get the chain type

This adds a new RPC method to get the chain type of the running chain.
The chain type needs to be specified in the chain spec. This should make
it easier for tools/UI to display extra information without needing to
rely on parsing the chain name.

* Update client/rpc-api/src/system/mod.rs

Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

* Primitive crate

* Feedback

Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
2020-04-08 20:41:51 +02:00

50 lines
2.4 KiB
TOML

[package]
name = "sc-rpc"
version = "2.0.0-alpha.5"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "GPL-3.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "Substrate Client RPC"
[dependencies]
sc-rpc-api = { version = "0.8.0-alpha.5", path = "../rpc-api" }
sc-client-api = { version = "2.0.0-alpha.5", path = "../api" }
sc-client = { version = "0.8.0-alpha.5", path = "../" }
sp-api = { version = "2.0.0-alpha.5", path = "../../primitives/api" }
codec = { package = "parity-scale-codec", version = "1.3.0" }
futures = { version = "0.3.1", features = ["compat"] }
jsonrpc-pubsub = "14.0.3"
log = "0.4.8"
sp-core = { version = "2.0.0-alpha.5", path = "../../primitives/core" }
rpc = { package = "jsonrpc-core", version = "14.0.3" }
sp-version = { version = "2.0.0-alpha.5", path = "../../primitives/version" }
serde_json = "1.0.41"
sp-session = { version = "2.0.0-alpha.5", path = "../../primitives/session" }
sp-offchain = { version = "2.0.0-alpha.5", path = "../../primitives/offchain" }
sp-runtime = { version = "2.0.0-alpha.5", path = "../../primitives/runtime" }
sp-utils = { version = "2.0.0-alpha.5", path = "../../primitives/utils" }
sp-rpc = { version = "2.0.0-alpha.5", path = "../../primitives/rpc" }
sp-state-machine = { version = "0.8.0-alpha.5", path = "../../primitives/state-machine" }
sp-chain-spec = { version = "2.0.0-alpha.5", path = "../../primitives/chain-spec" }
sc-executor = { version = "0.8.0-alpha.5", path = "../executor" }
sc-block-builder = { version = "0.8.0-alpha.5", path = "../../client/block-builder" }
sc-keystore = { version = "2.0.0-alpha.5", path = "../keystore" }
sp-transaction-pool = { version = "2.0.0-alpha.5", path = "../../primitives/transaction-pool" }
sp-blockchain = { version = "2.0.0-alpha.5", path = "../../primitives/blockchain" }
hash-db = { version = "0.15.2", default-features = false }
parking_lot = "0.10.0"
[dev-dependencies]
assert_matches = "1.3.0"
futures01 = { package = "futures", version = "0.1.29" }
sc-network = { version = "0.8.0-alpha.5", path = "../network" }
sp-io = { version = "2.0.0-alpha.5", path = "../../primitives/io" }
substrate-test-runtime-client = { version = "2.0.0-dev", path = "../../test-utils/runtime/client" }
tokio = "0.1.22"
sc-transaction-pool = { version = "2.0.0-alpha.5", path = "../transaction-pool" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]