Bump crate versions

This commit is contained in:
Luke Parker
2023-03-20 20:28:41 -04:00
parent 8d4d630e0f
commit 952cf280c2
20 changed files with 62 additions and 72 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "bitcoin-serai"
version = "0.1.1"
version = "0.2.0"
description = "A Bitcoin library for FROST-signing transactions"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/coins/bitcoin"
@@ -21,7 +21,7 @@ bitcoin = { version = "0.29", features = ["serde"] }
k256 = { version = "0.12", features = ["arithmetic"] }
transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.3", features = ["recommended"] }
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.6", features = ["secp256k1"] }
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["secp256k1"] }
hex = "0.4"
serde = { version = "1", features = ["derive"] }
@@ -29,7 +29,7 @@ serde_json = "1"
reqwest = { version = "0.11", features = ["json"] }
[dev-dependencies]
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.6", features = ["tests"] }
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["tests"] }
tokio = { version = "1", features = ["full"] }

4
coins/bitcoin/README.md Normal file
View File

@@ -0,0 +1,4 @@
# bitcoin-serai
An application of [modular-frost](https://docs.rs/modular-frost) to Bitcoin
transactions, enabling extremely-efficient multisigs.

View File

@@ -1,3 +1,7 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![doc = include_str!("../README.md")]
/// The bitcoin Rust library.
pub use bitcoin;

View File

@@ -1,6 +1,6 @@
[package]
name = "monero-serai"
version = "0.1.3-alpha"
version = "0.1.4-alpha"
description = "A modern Monero transaction library"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/coins/monero"
@@ -31,14 +31,14 @@ sha3 = "0.10"
curve25519-dalek = { version = "^3.2", features = ["std"] }
group = "0.12"
dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.2" }
dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.3" }
multiexp = { path = "../../crypto/multiexp", version = "0.3", features = ["batch"] }
transcript = { package = "flexible-transcript", path = "../../crypto/transcript", version = "0.3", features = ["recommended"], optional = true }
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.6", features = ["ed25519"], optional = true }
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["ed25519"], optional = true }
dleq = { path = "../../crypto/dleq", version = "0.3", features = ["serialize"], optional = true }
monero-generators = { path = "generators", version = "0.2" }
monero-generators = { path = "generators", version = "0.3" }
hex = "0.4"
serde = { version = "1", features = ["derive"] }
@@ -51,8 +51,8 @@ digest_auth = "0.3"
reqwest = { version = "0.11", features = ["json"] }
[build-dependencies]
dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.2" }
monero-generators = { path = "generators", version = "0.2" }
dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.3" }
monero-generators = { path = "generators", version = "0.3" }
[dev-dependencies]
hex-literal = "0.3"
@@ -60,7 +60,7 @@ hex-literal = "0.3"
tokio = { version = "1", features = ["full"] }
monero-rpc = "0.3"
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.6", features = ["tests"] }
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["tests"] }
[features]
multisig = ["transcript", "frost", "dleq"]

View File

@@ -1,6 +1,6 @@
[package]
name = "monero-generators"
version = "0.2.0"
version = "0.3.0"
description = "Monero's hash_to_point and generators"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/coins/monero/generators"
@@ -21,4 +21,4 @@ sha3 = "0.10"
curve25519-dalek = { version = "3", features = ["std"] }
group = "0.12"
dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.2" }
dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.3" }

View File

@@ -1,22 +1,5 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
//! A modern Monero transaction library intended for usage in wallets. It prides
//! itself on accuracy, correctness, and removing common pit falls developers may
//! face.
//!
//! monero-serai contains safety features, such as first-class acknowledgement of
//! the burning bug, yet also a high level API around creating transactions.
//! monero-serai also offers a FROST-based multisig, which is orders of magnitude
//! more performant than Monero's.
//!
//! monero-serai was written for Serai, a decentralized exchange aiming to support
//! Monero. Despite this, monero-serai is intended to be a widely usable library,
//! accurate to Monero. monero-serai guarantees the functionality needed for Serai,
//! yet will not deprive functionality from other users, and may potentially leave
//! Serai's umbrella at some point.
//!
//! Various legacy transaction formats are not currently implemented, yet
//! monero-serai is still increasing its support for various transaction types.
#![doc = include_str!("../README.md")]
use std::io;

View File

@@ -267,9 +267,7 @@ impl SignMachine<Transaction> for TransactionSignMachine {
msg: &[u8],
) -> Result<(TransactionSignatureMachine, Self::SignatureShare), FrostError> {
if !msg.is_empty() {
Err(FrostError::InternalError(
"message was passed to the TransactionMachine when it generates its own",
))?;
panic!("message was passed to the TransactionMachine when it generates its own");
}
// Find out who's included