Network configurations
Bookmark

cosmpy.aerial.config

Network configurations.

NetworkConfigError Objects

class NetworkConfigError(RuntimeError)

Network config error.

Arguments:

  • RuntimeError: Runtime error.

NetworkConfig Objects

@dataclass
class NetworkConfig()

Network configurations.

Raises:

  • NetworkConfigError: Network config error.
  • RuntimeError: Runtime error.

validate

def validate()

Validate network configuration.

Raises:

  • NetworkConfigError: Network config error.

fetchai_dorado_testnet

@classmethod
def fetchai_dorado_testnet(cls) -> "Network Config"

Fetchai dorado testnet.

Returns:

Network configuration.

fetchai_alpha_testnet

@classmethod
def fetchai_alpha_testnet(cls)

Get fetchai alpha testnet.

Raises:

  • RuntimeError: No beta testnet available.

fetchai_stable_testnet

@classmethod
def fetchai_stable_testnet(cls)

Get fetchai stable testnet.

Returns:

Fetchai stable testnet. For now dorado is fetchai stable testnet.

fetchai_mainnet

@classmethod
def fetchai_mainnet(cls) -> "NetworkConfig"

Get the fetchain mainnet configuration.

Returns:

Fetch mainnet configuration.

fetch_mainnet

@classmethod
def fetch_mainnet(cls) -> "NetworkConfig"

Get the fetch mainnet.

Returns:

Fetch mainnet configurations.

latest_stable_testnet

@classmethod
def latest_stable_testnet(cls) -> "NetworkConfig"

Get the latest stable testnet.

Returns:

Latest stable testnet.

Was this page helpful?

Bookmark