refactor: remove BlockRun provider, retain Claw402 as sole x402 payment provider

Remove all BlockRun (Base + Solana wallet) references from codebase:
- Delete blockrun_base.go, blockrun_sol.go, wallet setup docs, icon
- Move shared EIP-712 signing code to x402.go for Claw402 reuse
- Clean up provider constants, model lists, UI components, translations
- Update all README files (EN + 6 i18n) and getting-started docs
This commit is contained in:
tinkle-community
2026-03-24 01:44:54 +08:00
parent bbf96fe4b4
commit 966995fb88
26 changed files with 316 additions and 1101 deletions

View File

@@ -205,9 +205,9 @@ func NewAutoTrader(config AutoTraderConfig, st *store.Store, userID string) (*Au
mcpClient = mcp.New()
}
// Payment providers (blockrun-*, claw402) ignore customURL
// Payment providers (claw402) ignore customURL
switch aiModel {
case "blockrun-base", "blockrun-sol", "claw402":
case "claw402":
mcpClient.SetAPIKey(apiKey, "", config.CustomModelName)
default:
mcpClient.SetAPIKey(apiKey, customURL, config.CustomModelName)