Files
pezkuwi-subxt/substrate/bin/node-template/node/Cargo.toml
T
Hamza Tokuchi 9e438c2fc1 Add RPC Builder to Substrate Node Template (#6808)
* Pulled RPC from node and populated the node-template's RPC builder with one example implementation

* surpress build errror

* dead_code

* Fixed module usage, removed copyright, removed rpc builder for light client + some comments

* added a comment for rpc extension

* Update bin/node-template/node/src/rpc.rs

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>

* Update rpc.rs

* fix spacing

* more space to tabs

* more space to tabs

* Documenation nitpick

* Documentation nitpick

* Documentation nitpick

* Documentation nitpick

* Documentation nitpick

* pre-format

* Updated transaction payment API implemented for node template

* fix space and commented code

* fix long line

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: Dan Forbes <dan@danforbes.dev>
2020-08-06 10:31:03 +00:00

52 lines
2.6 KiB
TOML

[package]
name = "node-template"
version = "2.0.0-rc5"
authors = ["Anonymous"]
description = "A new FRAME-based Substrate node, ready for hacking."
edition = "2018"
license = "Unlicense"
build = "build.rs"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[[bin]]
name = "node-template"
[dependencies]
structopt = "0.3.8"
sc-cli = { version = "0.8.0-rc5", path = "../../../client/cli", features = ["wasmtime"] }
sp-core = { version = "2.0.0-rc5", path = "../../../primitives/core" }
sc-executor = { version = "0.8.0-rc5", path = "../../../client/executor", features = ["wasmtime"] }
sc-service = { version = "0.8.0-rc5", path = "../../../client/service", features = ["wasmtime"] }
sp-inherents = { version = "2.0.0-rc5", path = "../../../primitives/inherents" }
sc-transaction-pool = { version = "2.0.0-rc5", path = "../../../client/transaction-pool" }
sp-transaction-pool = { version = "2.0.0-rc5", path = "../../../primitives/transaction-pool" }
sc-consensus-aura = { version = "0.8.0-rc5", path = "../../../client/consensus/aura" }
sp-consensus-aura = { version = "0.8.0-rc5", path = "../../../primitives/consensus/aura" }
sp-consensus = { version = "0.8.0-rc5", path = "../../../primitives/consensus/common" }
sc-consensus = { version = "0.8.0-rc5", path = "../../../client/consensus/common" }
sc-finality-grandpa = { version = "0.8.0-rc5", path = "../../../client/finality-grandpa" }
sp-finality-grandpa = { version = "2.0.0-rc5", path = "../../../primitives/finality-grandpa" }
sc-client-api = { version = "2.0.0-rc5", path = "../../../client/api" }
sp-runtime = { version = "2.0.0-rc5", path = "../../../primitives/runtime" }
# These dependencies are used for the node template's RPCs
jsonrpc-core = "14.0.3"
sc-rpc = { version = "2.0.0-rc5", path = "../../../client/rpc" }
sp-api = { version = "2.0.0-rc5", path = "../../../primitives/api" }
sc-rpc-api = { version = "0.8.0-rc5", path = "../../../client/rpc-api" }
sp-blockchain = { version = "2.0.0-rc5", path = "../../../primitives/blockchain" }
sp-block-builder = { version = "2.0.0-rc5", path = "../../../primitives/block-builder" }
sc-basic-authorship = { version = "0.8.0-rc5", path = "../../../client/basic-authorship" }
substrate-frame-rpc-system = { version = "2.0.0-rc5", path = "../../../utils/frame/rpc/system" }
pallet-transaction-payment-rpc = { version = "2.0.0-rc5", path = "../../../frame/transaction-payment/rpc/" }
node-template-runtime = { version = "2.0.0-rc5", path = "../runtime" }
[build-dependencies]
substrate-build-script-utils = { version = "2.0.0-rc5", path = "../../../utils/build-script-utils" }