Phase 14: Interoperability & Privacy enhancements New synor-bridge crate with Ethereum lock-mint bridge: - Bridge trait for generic cross-chain implementations - Vault management with daily limits and pause controls - Transfer lifecycle (pending → confirmed → minted) - Multi-relayer signature verification - Wrapped token minting (ETH → sETH, ERC20 → sERC20) - Burn-unlock flow for redemption Also fixes synor-ibc lib.rs exports and adds rand dependency. 21 tests passing for synor-bridge.
43 lines
1,020 B
TOML
43 lines
1,020 B
TOML
[package]
|
|
name = "synor-bridge"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
description = "Cross-chain bridge infrastructure for Synor blockchain"
|
|
|
|
[dependencies]
|
|
synor-types = { path = "../synor-types" }
|
|
synor-crypto = { path = "../synor-crypto" }
|
|
synor-ibc = { path = "../synor-ibc" }
|
|
|
|
# Serialization
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
borsh = { workspace = true }
|
|
|
|
# Cryptography
|
|
sha2 = "0.10"
|
|
sha3 = { workspace = true }
|
|
blake3 = { workspace = true }
|
|
rand = { workspace = true }
|
|
|
|
# Ethereum compatibility
|
|
alloy-primitives = { version = "0.8", features = ["serde"] }
|
|
alloy-sol-types = "0.8"
|
|
|
|
# Async runtime
|
|
tokio = { version = "1", features = ["full"] }
|
|
async-trait = "0.1"
|
|
|
|
# Utilities
|
|
thiserror = { workspace = true }
|
|
hex = { workspace = true }
|
|
parking_lot = { workspace = true }
|
|
tracing = "0.1"
|
|
chrono = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4"
|
|
proptest = { workspace = true }
|
|
tempfile = { workspace = true }
|