[package]
name = "x402-kit"
version = "2.2.2"
edition = "2024"
repository = "https://github.com/AIMOverse/x402-kit"
authors = ["Archer <archer@aimo.network>"]
license = "MIT"
description = "(V2 Supported) A fully modular SDK for building complex X402 payment integrations."
[features]
default = ["facilitator-client", "evm-signer", "svm-signer", "axum"]
facilitator-client = ["dep:reqwest", "dep:http"]
evm-signer = ["dep:alloy-core", "dep:alloy-signer", "dep:rand"]
svm-signer = ["dep:bincode"]
paywall = ["dep:x402-paywall"]
axum = ["paywall", "x402-paywall/axum"]
[dependencies]
x402-core = { version = "2.2.2", path = "../x402-core" }
hex = { version = "0.4" }
alloy-primitives = { version = "1.4" }
bon = { version = "3.8" }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
thiserror = { version = "2.0" }
url = { version = "2.5" }
solana-pubkey = { version = "4.0" }
solana-signature = { version = "3.1" }
reqwest = { version = "0.12", optional = true, features = ["json"] }
alloy-core = { version = "1.4", features = ["sol-types"], optional = true }
alloy-signer = { version = "1.1", optional = true }
rand = { version = "0.9", optional = true }
bincode = { version = "2.0", features = ["serde"], optional = true }
http = { version = "1.4", optional = true }
x402-paywall = { version = "2.2.2", path = "../x402-paywall", optional = true, default-features = false }
[dev-dependencies]
alloy = { version = "1" }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
url = { version = "2.5" }
url-macro = { version = "0.2" }
axum = { version = "0.8" }
tracing-subscriber = { version = "0.3" }
tower-http = { version = "0.6", features = ["trace"] }
futures-util = { version = "0.3" }
solana-pubkey = { version = "4" }
tracing = { version = "0.1" }