[package]
name = "pallet-contracts-rpc"
version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "Node-specific RPC methods for interaction with contracts."
readme = "README.md"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
codec = { package = "parity-scale-codec", version = "2" }
jsonrpc-core = "18.0.0"
jsonrpc-core-client = "18.0.0"
jsonrpc-derive = "18.0.0"
serde = { version = "1", features = ["derive"] }

# Substrate Dependencies
pallet-contracts-primitives = { version = "5.0.0", path = "../common" }
pallet-contracts-rpc-runtime-api = { version = "4.0.0-dev", path = "./runtime-api" }
sp-api = { version = "4.0.0-dev", path = "../../../primitives/api" }
sp-blockchain = { version = "4.0.0-dev", path = "../../../primitives/blockchain" }
sp-core = { version = "5.0.0", path = "../../../primitives/core" }
sp-rpc = { version = "5.0.0", path = "../../../primitives/rpc" }
sp-runtime = { version = "5.0.0", path = "../../../primitives/runtime" }

[dev-dependencies]
serde_json = "1"
