f6a79ce7c3
* Renaming validator-api to nym-api * nym-api: simplified crate name * Added nym-api rename to changelog * Changed some output messages * Renamed validator-api-requests to nym-api requests * Removing more references to validator-api-requests * Additional lockfile name changes after full build * Removing mistakenly added merge files * ibid * ibid * Getting rid of ref to validator_api deep inside validator-client * Fixing file storage paths * Renaming struct function names referring to validator_api * Simplifying struct init * Fixed up all other instances of nym_api. * Renaming validatorApi to nymApi in TypeScript client for consistency v * Found a few more Rust instances * Changed examples in TypeScript SDK * Found one more instance of the use of validator instead of nym apis * Aliasing config key name for deserialization to preserve compatibility with old configs
67 lines
2.4 KiB
TOML
67 lines
2.4 KiB
TOML
[package]
|
|
name = "validator-client"
|
|
version = "0.1.0"
|
|
authors = ["Jędrzej Stuczyński <andrew@nymtech.net>"]
|
|
edition = "2021"
|
|
rust-version = "1.56"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
base64 = "0.13"
|
|
colored = "2.0"
|
|
|
|
coconut-dkg-common = { path = "../../cosmwasm-smart-contracts/coconut-dkg" }
|
|
contracts-common = { path = "../../cosmwasm-smart-contracts/contracts-common" }
|
|
mixnet-contract-common = { path= "../../cosmwasm-smart-contracts/mixnet-contract" }
|
|
vesting-contract-common = { path= "../../cosmwasm-smart-contracts/vesting-contract" }
|
|
coconut-bandwidth-contract-common = { path= "../../cosmwasm-smart-contracts/coconut-bandwidth-contract" }
|
|
multisig-contract-common = { path = "../../cosmwasm-smart-contracts/multisig-contract" }
|
|
vesting-contract = { path = "../../../contracts/vesting" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
thiserror = "1"
|
|
log = "0.4"
|
|
url = { version = "2.2", features = ["serde"] }
|
|
tokio = { version = "1.21.2", features = ["sync", "time"] }
|
|
futures = "0.3"
|
|
|
|
coconut-interface = { path = "../../coconut-interface" }
|
|
network-defaults = { path = "../../network-defaults" }
|
|
nym-api-requests = { path = "../../../nym-api/nym-api-requests", features = ["coconut"] }
|
|
|
|
# required for nymd-client
|
|
# at some point it might be possible to make it wasm-compatible
|
|
# perhaps after https://github.com/cosmos/cosmos-rust/pull/97 is resolved (and tendermint-rs is updated)
|
|
async-trait = { version = "0.1.51", optional = true }
|
|
bip39 = { version = "1", features = ["rand"], optional = true }
|
|
config = { path = "../../config", optional = true }
|
|
cosmrs = { git = "https://github.com/neacsu/cosmos-rust", branch = "neacsu/feegrant_support", features = ["rpc", "bip32", "cosmwasm"], optional = true}
|
|
cw3 = { version = "0.13.4", optional = true }
|
|
prost = { version = "0.10", default-features = false, optional = true }
|
|
flate2 = { version = "1.0.20", optional = true }
|
|
sha2 = { version = "0.9.5", optional = true }
|
|
itertools = { version = "0.10", optional = true }
|
|
cosmwasm-std = { version = "1.0.0", optional = true }
|
|
execute = { path = "../../execute" }
|
|
|
|
[dev-dependencies]
|
|
ts-rs = "6.1.2"
|
|
|
|
[features]
|
|
nymd-client = [
|
|
"async-trait",
|
|
"bip39",
|
|
"config",
|
|
"cosmrs",
|
|
"cw3",
|
|
"prost",
|
|
"flate2",
|
|
"sha2",
|
|
"itertools",
|
|
"cosmwasm-std",
|
|
]
|
|
generate-ts = []
|
|
|