MCPcopy Create free account
hub / github.com/canopy-network/canopy / default_config

Function default_config

plugin/python/contract/plugin.py:59–61  ·  view source on GitHub ↗

Return the default configuration (matching Go's DefaultConfig).

()

Source from the content-addressed store, hash-verified

57
58
59def default_config() -> Config:
60 """Return the default configuration (matching Go's DefaultConfig)."""
61 return Config(chain_id=1, data_dir_path="/tmp/plugin/")
62
63
64def new_config_from_file(filepath: str) -> Config:

Callers 1

mainFunction · 0.90

Calls 1

ConfigClass · 0.70

Tested by

no test coverage detected