7ff043d8df
* wip * updated gateways 'sign' command * in-wallet verification of mix bonding signature * changed signature of vesting contract trait method * updated wallet bonding endpoints * tauri commands for generating signing payloads * renamed signer to sender * verifying new signatures in the contract * fixed existing mixnet unit tests * unit tests for invalid signatures * fixed other usages of MessageSignature + FromStr * using base58-encoded serialization * removed owner-signature from details response * added ability to construct bonding payloads via nym-cli * removed signature from bonding payload args * moved 'message_type' from 'ContractMessageContent' to 'SignableMessage' * refactor(wallet-rust): rename owner_signature args * feat(wallet-bonding): handle user signature * feat(wallet-bonding): fix bonding * feat(wallet-bonding): fix lint issue * feat(wallet-bonding): ui adjustment * make the location field mandatory for payload signing * feat(wallet-bonding): remove ownersignature field, remove dead code --------- Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com> Co-authored-by: Tommy Verrall <tommyvez@protonmail.com>
61 lines
2.1 KiB
TOML
61 lines
2.1 KiB
TOML
# Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[package]
|
|
name = "nym-mixnode"
|
|
version = "1.1.13"
|
|
authors = [
|
|
"Dave Hrycyszyn <futurechimp@users.noreply.github.com>",
|
|
"Jędrzej Stuczyński <andrew@nymtech.net>",
|
|
"Drazen Urch <durch@users.noreply.github.com>",
|
|
]
|
|
description = "Implementation of a Loopix-based Mixnode"
|
|
edition = "2021"
|
|
rust-version = "1.58.1"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.40"
|
|
bs58 = "0.4.0"
|
|
clap = { version = "4.0", features = ["cargo", "derive"] }
|
|
colored = "2.0"
|
|
cupid = "0.6.1"
|
|
dirs = "4.0"
|
|
futures = "0.3.0"
|
|
humantime-serde = "1.0"
|
|
lazy_static = "1.4.0"
|
|
log = { workspace = true }
|
|
pretty_env_logger = "0.4.0"
|
|
rand = "0.7.3"
|
|
rocket = { version = "0.5.0-rc.2", features = ["json"] }
|
|
serde = { version="1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
sysinfo = "0.27.7"
|
|
tokio = { version="1.21.2", features = ["rt-multi-thread", "net", "signal"] }
|
|
tokio-util = { version="0.7.3", features = ["codec"] }
|
|
toml = "0.5.8"
|
|
url = { version = "2.2", features = ["serde"] }
|
|
atty = "0.2"
|
|
|
|
## internal
|
|
nym-config = { path="../common/config" }
|
|
nym-crypto = { path="../common/crypto" }
|
|
nym-contracts-common = { path = "../common/cosmwasm-smart-contracts/contracts-common" }
|
|
mixnet-client = { path="../common/client-libs/mixnet-client" }
|
|
mixnode-common = { path="../common/mixnode-common" }
|
|
nym-nonexhaustive-delayqueue = { path="../common/nonexhaustive-delayqueue" }
|
|
nym-sphinx = { path="../common/nymsphinx" }
|
|
nym-pemstore = { path = "../common/pemstore", version = "0.2.0" }
|
|
nym-task = { path = "../common/task" }
|
|
nym-types = { path = "../common/types" }
|
|
nym-topology = { path="../common/topology" }
|
|
validator-client = { path="../common/client-libs/validator-client" }
|
|
nym-bin-common = { path="../common/bin-common" }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version="1.21.2", features = ["rt-multi-thread", "net", "signal", "test-util"] }
|
|
|
|
nym-sphinx-types = { path = "../common/nymsphinx/types" }
|
|
nym-sphinx-params = { path = "../common/nymsphinx/params" }
|