Skip to main content

A tool for generating predeployed ERC1820Registry smart contract

Project description

erc1820-predeployed

Description

A tool for generating predeployed ERC1820Registry smart contract

Installation

pip install erc1820-predeployed

Usage example

from erc1820_predeployed import  ERC1820RegistryGenerator, ERC1820_REGISTRY_ADDRESS

erc1820_registry_generator = ERC1820RegistryGenerator()

genesis = {
    # genesis block parameters
    'alloc': {
        **erc1820_registry_generator.generate_allocation(
            contract_address=ERC1820_REGISTRY_ADDRESS
        )
    }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

erc1820-predeployed-0.0.1a1.tar.gz (8.7 kB view hashes)

Uploaded Source

Built Distribution

erc1820_predeployed-0.0.1a1-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page