Skip to content
Open
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
619 changes: 598 additions & 21 deletions Cargo.lock

Large diffs are not rendered by default.

30 changes: 25 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
exclude = []
members = ["mantis-sdk", "mantis-cli"]
members = ["mantis-sdk", "mantis-cli", "mantis-auctioneer-api"]
resolver = "2"

[workspace.package]
Expand All @@ -12,9 +12,9 @@ rust-version = "1.84.0"
version = "0.1.0"

[workspace.dependencies]
anchor-client = { version = "0.31.0", features = ["async"] }
anchor-lang = "0.31.0"
anchor-spl = "0.31.0"
anchor-client = { version = "0.31.1", features = ["async"] }
anchor-lang = "0.31.1"
anchor-spl = "0.31.1"
solana-client = "~2.2.1"
solana-logger = "~2.2.1"
solana-program = "~2.2.1"
Expand All @@ -29,17 +29,37 @@ spl-token-2022 = { version = "8.0.1", features = ["no-entrypoint"] }

alloy = { version = "0.9.2", features = ["full", "node-bindings", "signer-mnemonic"] }
anyhow = "1.0.96"
base64 = "0.22.1"
axum = "0.8.0"
axum-extra = "0.10.1"
base64 = { version = "0.22.1", features = ["alloc"] }
chrono = "0.4.40"
clap = { version = "4.5.32", features = ["derive"] }
dotenv = "0.15.0"
env_logger = { version = "0.11.8" }
futures = "0.3"
futures-util = "0.3"
log = { version = "0.4.27" }
num = "0.4.3"
rand = "0.8.0"
regex = "1.11.1"
reqwest = { version = "0.12.15", features = ["json"] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
strum = { version = "0.26.2", features = ["derive"] }
strum_macros = "0.26.4"
thiserror = "2.0.12"
tokio = { version = "1.43.0", features = ["full"] }
tokio-tungstenite = "0.20.1"
tokio-util = { version = "0.7" }
# tokio-tungstenite = "0.26.2"
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
url = "2.5.4"
utoipa = "5.3.1"
utoipa-swagger-ui = "9.0.0"
uuid = { version = "1.16.0", features = ["v4"] }
validator = "0.19.0"
zip = "~2.4.2"

auctioneer-api = { path = "mantis-auctioneer-api", package = "mantis-auctioneer-api" }
mantis-sdk = { path = "mantis-sdk" }
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The `mantis_sdk::ethereum` module abstracts the Ethereum smart contract interact

The `mantis_sdk::solana` module abstracts the Solana Anchor program interactions and provides various utility functions.

The `mantis_sdk::auction` module provides a way for solvers to integrate with the intent auction process by communicating with the auctioneer API.
The `mantis_sdk::auction` module provides a way for solvers to integrate with the intent auction process by communicating with the auctioneer API via a robust WebSocket client:

# Mantis SDK 🔷

Expand Down
27 changes: 27 additions & 0 deletions mantis-auctioneer-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[package]
edition = "2021"
name = "mantis-auctioneer-api"
version = "0.1.0"

[lib]
name = "auctioneer_api"
path = "src/lib.rs"

[dependencies]
alloy = { workspace = true, features = ["signers", "signer-local"] }
anyhow = { workspace = true }
axum = { workspace = true, features = ["ws", "macros"] }
num = { workspace = true, features = ["serde"] }
regex = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true, features = ["raw_value"] }
solana-sdk = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
utoipa = { workspace = true, features = ["axum_extras"] }
utoipa-swagger-ui = { workspace = true, features = ["axum"] }
uuid = { workspace = true, features = ["serde"] }
validator = { workspace = true, features = ["derive"] }
zip = { workspace = true }
Loading