Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,088 changes: 852 additions & 236 deletions Cargo.lock

Large diffs are not rendered by default.

44 changes: 23 additions & 21 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,60 +21,60 @@ path = "src/bin/create_raid.rs"

[dependencies]
# Quantus crates
qp-human-checkphrase = "0.1.2"
qp-rusty-crystals-dilithium = "2.0.0"
quantus-cli = "0.3.0"
rusx = {git = "https://github.com/Quantus-Network/rusx", tag = "v0.6.1"}
qp-human-checkphrase = { git = "https://github.com/Quantus-Network/qp-human-checkphrase", tag = "v2.0.1" }
qp-rusty-crystals-dilithium = "2.4.0"
quantus-cli = "1.3.3"
rusx = { git = "https://github.com/Quantus-Network/rusx", tag = "v0.6.1" }

# Async runtime
tokio = {version = "1.46", features = ["full", "test-util"]}
tokio = { version = "1.46", features = ["full", "test-util"] }

# HTTP server
axum = {version = "0.7", features = ["tokio"]}
axum = { version = "0.7", features = ["tokio"] }
tower = "0.4"
tower-cookies = "0.10"
tower-http = {version = "0.5", features = ["cors", "trace"]}
tower-http = { version = "0.5", features = ["cors", "trace"] }

# Serialization
serde = {version = "1.0.228", features = ["derive"]}
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"

# Database
sqlx = {version = "0.7", features = [
sqlx = { version = "0.7", features = [
"runtime-tokio-rustls",
"chrono",
"postgres",
"uuid",
"migrate",
]}
] }

# Signature verification
# Using quantus-cli's dilithium crypto for signature verification
hex = "0.4"
sp-core = "37.0.0"
sp-runtime = "42.0.0"
sp-core = "39.0.0"
sp-runtime = "45.0.0"

# Configuration
clap = {version = "4.5", features = ["derive"]}
clap = { version = "4.5", features = ["derive"] }
config = "0.14"
toml = "0.9"

# Time handling
chrono = {version = "0.4", features = ["serde"]}
chrono = { version = "0.4", features = ["serde"] }

# Random generation
rand = "0.9"
uuid = {version = "1.6", features = ["v4", "serde"]}
uuid = { version = "1.6", features = ["v4", "serde"] }

# HTTP client for GraphQL
reqwest = {version = "0.11", features = ["json"]}
reqwest = { version = "0.11", features = ["json"] }

# Ethereum / ENS
alloy = {version = "1.8", features = ["providers", "provider-http", "ens"]}
alloy = { version = "1.8", features = ["providers", "provider-http", "ens"] }

# Logging
tracing = "0.1"
tracing-subscriber = {version = "0.3", features = ["env-filter"]}
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

# Error handling
anyhow = "1.0"
Expand All @@ -85,13 +85,15 @@ argon2 = "0.5"
dirs = "6.0"
jsonwebtoken = "9.3.1"
lazy_static = "1.5.0"
prometheus = {version = "0.14.0", features = ["process"]}
prometheus = { version = "0.14.0", features = ["process"] }
subxt = "0.43.0"
tiny-keccak = {version = "2.0.2", features = ["keccak"]}
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
notify = "8.2.0"

[dev-dependencies]
mockall = "0.13"
wiremock = "0.5"
# Enable the testing feature ONLY for tests
rusx = {git = "https://github.com/Quantus-Network/rusx", tag = "v0.6.1", features = ["testing"]}
rusx = { git = "https://github.com/Quantus-Network/rusx", tag = "v0.6.1", features = [
"testing",
] }
4 changes: 4 additions & 0 deletions config/default.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,7 @@ infura_api_key = "change-me"
infura_base_url = "https://mainnet.infura.io/v3"
etherscan_calls_per_sec = 3
max_concurrent_requests = 1

[exchange_rate]
# https://www.exchangerate-api.com/ — v6 key for latest/{base} rates
api_key = "change-me"
4 changes: 4 additions & 0 deletions config/example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ infura_base_url = "https://mainnet.infura.io/v3"
etherscan_calls_per_sec = 3
max_concurrent_requests = 1

[exchange_rate]
# https://www.exchangerate-api.com/ — v6 key for latest/{base} rates
api_key = "change-me"

# Example environment variable overrides:
# TASKMASTER_BLOCKCHAIN__NODE_URL="ws://remote-node:9944"
# TASKMASTER_BLOCKCHAIN__WALLET_PASSWORD="super_secure_password"
Expand Down
3 changes: 3 additions & 0 deletions config/test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,6 @@ infura_api_key = "change-me"
infura_base_url = "https://mainnet.infura.io/v3"
etherscan_calls_per_sec = 3
max_concurrent_requests = 1

[exchange_rate]
api_key = "test-key"
Loading
Loading