5f7b3db9a4
* Add coconut verifier structure for coconut protocol in gateway * Add endpoint for validator-api cred verification * Remove unused signature field * Register new endpoint * Improve validator-api config handling * Aggregate verif result from all apis * Simplify aggregate functions * Verify cred on apis correctly * Introduced coconut bandwidth contract to validator client * Fix rebase double import * Fix clippy on non-coconut * Add multisig contract address to validator client * Refactor Credential struct * Do bincode magic in the coconut interface * Implement serialization for credential and remove bindcode * Fix clippy and don't remove dkg * Client release funds proposal * Add wrapper for blinded serial number Also compare theta with a blinded serial number (in base 58 form) for future double spend protection. * Only post blinded serial number to blockchain * Validator api propose credential spending * Fix wallet * Gateway calls proposal creation * Query for proposal in verify coconut * Remove db from git * Verify against proposal description * Validator apis vote based on verification of cred * Fix wallet fmt * Execute the release of funds * Fix translation between token and bytes * Update CHANGELOG
35 lines
945 B
TOML
35 lines
945 B
TOML
# Copyright 2020 - Nym Technologies SA <contact@nymtech.net>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[package]
|
|
name = "gateway-requests"
|
|
version = "0.1.0"
|
|
authors = ["Jedrzej Stuczynski <andrew@nymtech.net>"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
bs58 = "0.4.0"
|
|
futures = "0.3.15"
|
|
log = "0.4.14"
|
|
nymsphinx = { path = "../../common/nymsphinx" }
|
|
rand = { version = "0.7.3", features = ["wasm-bindgen"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
thiserror = "1.0"
|
|
|
|
crypto = { path = "../../common/crypto" }
|
|
pemstore = { path = "../../common/pemstore" }
|
|
|
|
coconut-interface = { path = "../../common/coconut-interface", optional = true }
|
|
credentials = { path = "../../common/credentials" }
|
|
|
|
[features]
|
|
coconut = ["coconut-interface", "credentials/coconut"]
|
|
|
|
[dependencies.tungstenite]
|
|
version = "0.13.0"
|
|
default-features = false
|
|
|