mirror of
https://github.com/luxfi/mcp.git
synced 2026-09-24 00:25:04 +00:00
reach chains at /v1/chain; the node deleted /v1/bc
This commit is contained in:
+1
-1
@@ -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://…/v1/bc/C/rpc", … } }
|
||||
// { "command": "lux-mcp", "env": { "LUX_GOV_EVM_RPC": "https://…/v1/chain/C/rpc", … } }
|
||||
package main
|
||||
|
||||
import (
|
||||
|
||||
@@ -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
|
||||
// …/v1/bc/C/rpc. Dialed read-only via ethclient.DialContext.
|
||||
// …/v1/chain/C/rpc. Dialed read-only via ethclient.DialContext.
|
||||
EVMRPC string
|
||||
|
||||
AIParams common.Address
|
||||
|
||||
Reference in New Issue
Block a user