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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file erc1820-predeployed-0.0.1a1.tar.gz.

File metadata

  • Download URL: erc1820-predeployed-0.0.1a1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for erc1820-predeployed-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 8a4a3b04f9b9345656122eeef34652ef17fe701a34bbfc276d7ef586666cae31
MD5 4de278e7ec1c6cee4ed8a41a61317b0d
BLAKE2b-256 df5aec5c828aef04091f93e9c8eea6f05edb2cc34df7d00e0b9df2406530c669

See more details on using hashes here.

File details

Details for the file erc1820_predeployed-0.0.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for erc1820_predeployed-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 5ea17101a0744cec342a6f3c8e2c96381f1c28ce379b60f81930fb64a1b96559
MD5 ac8a09cfa41d80246c7e804d3f436a11
BLAKE2b-256 3b92c9628ce92c0c86c0aa319ac949b4fe767271f3993c70fb04de7c614b45c2

See more details on using hashes here.

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