Skip to content

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 the network configuration.

Raises:

  • NetworkConfigError: Network config error

fetchai_dorado_testnet

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

Fetchai dorado testnet.

Returns:

Network configuration

fetchai_alpha_testnet

@classmethod
def fetchai_alpha_testnet(cls)

Get the fetchai alpha testnet.

Raises:

  • RuntimeError: No alpha testnet available

fetchai_beta_testnet

@classmethod
def fetchai_beta_testnet(cls)

Get the Fetchai beta testnet.

Raises:

  • RuntimeError: No beta testnet available

fetchai_stable_testnet

@classmethod
def fetchai_stable_testnet(cls)

Get the fetchai stable testnet.

Returns:

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

fetchai_mainnet

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

Get the fetchai 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