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"
Fetch.ai Dorado Testnet.
Returns:
Network configuration.
fetchai_alpha_testnet
@classmethod def fetchai_alpha_testnet(cls)
Get Fetch.ai alpha Testnet.
Raises:
RuntimeError:
No beta Testnet available.
fetchai_stable_testnet
@classmethod def fetchai_stable_testnet(cls)
Get Fetch.ai stable Testnet.
Returns:
Fetch.ai stable Testnet. For now Dorado is Fetch.ai stable Testnet.
fetchai_mainnet
@classmethod def fetchai_mainnet(cls) -> "NetworkConfig"
Get the Fetch.ai Mainnet configuration.
Returns:
Fetch.ai Mainnet configuration.
fetch_mainnet
@classmethod def fetch_mainnet(cls) -> "NetworkConfig"
Get the Fetch.ai Mainnet.
Returns:
Fetch.ai Mainnet configurations.
latest_stable_testnet
@classmethod def latest_stable_testnet(cls) -> "NetworkConfig"
Get the latest stable Testnet.
Returns:
Latest stable Testnet.