Skip to content

Class BSV::MCP::Config

Inherits: Object

Configuration parsed from environment variables for the MCP server.

Environment variables: BSV_NETWORK — 'mainnet' or 'testnet' (default: 'mainnet') BSV_ARC_URL — optional ARC endpoint override BSV_ARC_API_KEY — optional ARC bearer token

Constants

MAINNET

Not documented.

TESTNET

Not documented.

VALID_NETWORKS

Not documented.

Attributes

arc_api_key [R]

Returns the value of attribute arc_api_key.

arc_url [R]

Returns the value of attribute arc_url.

network [R]

Returns the value of attribute network.

Public Instance Methods

initialize(network: = nil, arc_url: = nil, arc_api_key: = nil)

  • @return [Config] a new instance of Config

mainnet?()

  • @return [Boolean]

testnet?()

  • @return [Boolean]