4NK_certificator/Cargo.toml
4NK Dev 4acfa96a5c feat: initial commit - 4NK Certificator service
- Bitcoin mainnet anchoring service for 4NK relay data volumes
- REST API for processes, metrics, and anchors
- PostgreSQL database with SQLx
- Docker support with compose file
- Configuration via TOML
- Periodic anchoring based on block intervals
- Conditional payment system (priceMoSats, btcAddress)
- Process state snapshot with cryptographic hash
- Health check endpoint

Version: 0.1.0 (MVP)
2025-10-01 09:35:33 +00:00

62 lines
1.1 KiB
TOML

[package]
name = "4nk_certificator"
version = "0.1.0"
edition = "2021"
authors = ["4NK Team"]
description = "Bitcoin mainnet anchoring service for 4NK relay data volumes"
[dependencies]
# Web framework
actix-web = "4"
actix-rt = "2"
tokio = { version = "1", features = ["full"] }
tokio-tungstenite = "0.20"
futures = "0.3"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Bitcoin
bitcoin = "0.31"
bitcoincore-rpc = "0.18"
bdk = { version = "0.29", features = ["keys-bip39"] }
# Database
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "macros", "chrono"] }
redis = { version = "0.24", features = ["tokio-comp", "connection-manager"] }
# Crypto
sha2 = "0.10"
hex = "0.4"
# Configuration
toml = "0.8"
# Logging
log = "0.4"
env_logger = "0.11"
# Error handling
anyhow = "1"
thiserror = "1"
# Time
chrono = { version = "0.4", features = ["serde"] }
# Utils
lazy_static = "1"
# JWT
jsonwebtoken = "9"
# Metrics
prometheus = "0.13"
# SDK common (local dependency)
sdk_common = { path = "../sdk_common" }
[dev-dependencies]
mockito = "1"
tempfile = "3"