Metadata-Version: 2.1
Name: config-controller-predeployed
Version: 1.0.0.dev4
Summary: A tool for generating predeployed config controller smart contract
Home-page: https://github.com/skalenetwork/config-controller
Author: SKALE Labs
Author-email: support@skalelabs.com
License: UNKNOWN
Description: # config-controller-predeployed
        ## Description
        
        A tool for generating predeployed config-controller smart contract
        
        ## Installation
        
        ```console
        pip install config-controller-predeployed
        ```
        
        ## Usage example
        
        ```python
        from config_controller_predeployed import (UpgradeableConfigControllerGenerator,
                                                   CONFIG_CONTROLLER_ADDRESS,
                                                   CONFIG_CONTROLLER_IMPLEMENTATION_ADDRESS)
        
        OWNER_ADDRESS = '0xd200000000000000000000000000000000000000'
        PROXY_ADMIN_ADDRESS = '0xd200000000000000000000000000000000000001'
        
        config_generator = UpgradeableConfigControllerGenerator()
        
        genesis = {
            # genesis block parameters
            'alloc': {
                **config_generator.generate_allocation(
                    contract_address=CONFIG_CONTROLLER_ADDRESS,
                    implementation_address=CONFIG_CONTROLLER_IMPLEMENTATION_ADDRESS,
                    schain_owner=OWNER_ADDRESS,
                    proxy_admin_address=PROXY_ADMIN_ADDRESS
                )
            }
        }
        
        ```
Keywords: skale,predeployed
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.7,<4
Description-Content-Type: text/markdown
Provides-Extra: linter
Provides-Extra: dev
