29091aab8e
* Renaming all instances of nymd to nyxd * Might as well get the changelogs too * Making it clearer that an ApiClient is a NymApiClient * Lining up config templates with struct keys on gateway * Changed the last references to validator_urls to nyxd_urls * Fixed up a few type errors after refactoring * Changed the changelog * Fixed typo in changelog * Further instances of renaming 'nymd' + introducing additional clap aliases * updated environmental variables and allowed usage of deprecated variants * missing occurences of coconut-locked environmental variables Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com>
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 nyxd-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]
|
|
nyxd-client = [
|
|
"async-trait",
|
|
"bip39",
|
|
"config",
|
|
"cosmrs",
|
|
"cw3",
|
|
"prost",
|
|
"flate2",
|
|
"sha2",
|
|
"itertools",
|
|
"cosmwasm-std",
|
|
]
|
|
generate-ts = []
|
|
|