ebeac73f30
* Using forked cosmwasm * Basic wallet functionalities * WIP * Generic abci_query method * More API stubs with some semi-working code * More API stub work * Moving from fork of cosmos-rust to the upstream * Implemented most sign-less cosmwasm client methods * Full contract upload with log parsing * Implemented most of remaining methods on signing client * Some initial cleanup on existing code * Feature-locking nymd client * Better type for base account * Pagination handling * Searching transaction by concrete hash * basic search_tx * More cleanup * Disabled default validator-client features on wasm client * Fixed account conversion * Fixed typo in cargo.toml * Moving back to main cosmos-sdk repo * Re-exported connect functions * comment * Wallet no longer storing signing keys * Went back to the trait approach * Example stub of future API * Removed needless borrow * Fixed starting page * Fixed typo * Using centralised config defaults
44 lines
1.6 KiB
TOML
44 lines
1.6 KiB
TOML
[package]
|
|
name = "validator-client"
|
|
version = "0.1.0"
|
|
authors = ["Jędrzej Stuczyński <andrew@nymtech.net>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
base64 = "0.13"
|
|
mixnet-contract = { path="../../../common/mixnet-contract" }
|
|
serde = { version="1", features=["derive"] }
|
|
serde_json = "1"
|
|
rand = "0.8"
|
|
reqwest = { version="0.11", features=["json"] }
|
|
thiserror = "1"
|
|
log = "0.4"
|
|
url = "2"
|
|
wasm-timer = "0.2"
|
|
|
|
# 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}
|
|
cosmos_sdk = { git = "https://github.com/cosmos/cosmos-rust/", commit="ba012bd820240d3df2d9a0ab1deabe4ecd9a2f30", features = ["rpc", "bip32", "cosmwasm"], optional = true }
|
|
prost = { version = "0.7", 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 = { git = "https://github.com/jstuczyn/cosmwasm", branch="0.14.1-updatedk256", optional = true }
|
|
|
|
[target."cfg(target_arch = \"wasm32\")".dependencies.getrandom]
|
|
version = "0.2"
|
|
features = ["js"]
|
|
|
|
[dev-dependencies]
|
|
tokio = {version = "1.5", features = ["full"]}
|
|
|
|
[features]
|
|
default = ["nymd-client"]
|
|
nymd-client = ["async-trait", "bip39", "config", "cosmos_sdk", "prost", "flate2", "sha2", "itertools", "cosmwasm-std"]
|