From 3b3336ac7ed71096b9cf2dba54406b418cf6443a Mon Sep 17 00:00:00 2001 From: Nacorid Date: Tue, 4 Aug 2026 21:41:05 +0000 Subject: [PATCH] update: default facilitator --- internal/config/config.go | 2 +- internal/x402/x402.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 22d283b..0905193 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -49,7 +49,7 @@ func Load() *Config { BlueskyAppPassword: getEnv("BLUESKY_APP_PASSWORD", ""), BlueskyHost: getEnv("BLUESKY_HOST", "https://bsky.social"), OllamaHost: getEnv("OLLAMA_HOST", "http://localhost:11434"), - X402FacilitatorURL: getEnv("X402_FACILITATOR_URL", "https://facilitator.x402.rs"), + X402FacilitatorURL: getEnv("X402_FACILITATOR_URL", "https://v2.facilitator.mogami.tech"), X402WalletAddress: getEnv("X402_WALLET_ADDRESS", ""), ApiKey: getEnv("CDP_API_KEY_ID", ""), ApiSecret: getEnv("CDP_API_SECRET", ""), diff --git a/internal/x402/x402.go b/internal/x402/x402.go index 08e7b8b..2d73329 100644 --- a/internal/x402/x402.go +++ b/internal/x402/x402.go @@ -62,7 +62,7 @@ func NewX402Server(name, version string, facilitatorURL string, auth x402http.Au } if facilitatorURL == "" { - facilitatorURL = "https://facilitator.mogami.tech" + facilitatorURL = "https://v2.facilitator.mogami.tech" } facilitator := x402http.NewHTTPFacilitatorClient(&x402http.FacilitatorConfig{ URL: facilitatorURL,