rpc: /ext/ -> /v1/ on our own hosts

luxd serves /v1/*; /ext/* 404s. Third-party chains keep their own paths.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-08-03 21:02:04 -07:00
co-authored by Hanzo Dev
parent 5143d3679c
commit 33b741775e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
//
// Drop into an MCP client (hanzo-dev / claude desktop) as a stdio server:
//
// { "command": "lux-mcp", "env": { "LUX_GOV_EVM_RPC": "https://…/ext/bc/C/rpc", … } }
// { "command": "lux-mcp", "env": { "LUX_GOV_EVM_RPC": "https://…/v1/bc/C/rpc", … } }
package main
import (
+1 -1
View File
@@ -51,7 +51,7 @@ const defaultMaxCallsPerRequest = 1024
// four are validated in New.
type Config struct {
// EVMRPC is the governance EVM chain's RPC URL — an L1/L2/L3 EVM endpoint or a
// …/ext/bc/C/rpc. Dialed read-only via ethclient.DialContext.
// …/v1/bc/C/rpc. Dialed read-only via ethclient.DialContext.
EVMRPC string
AIParams common.Address