Skip to main content

A tool for generating predeployed etherbase smart contract

Project description

etherbase-predeployed

Description

A tool for generating predeployed etherbase smart contract

Installation

pip install etherbase-predeployed

Usage example

from etherbase_predeployed import  UpgradeableEtherbaseUpgradeableGenerator, ETHERBASE_ADDRESS, ETHERBASE_IMPLEMENTATION_ADDRESS

OWNER_ADDRESS = '0xd200000000000000000000000000000000000000'
PROXY_ADMIN_ADDRESS = '0xd200000000000000000000000000000000000001'

etherbase_generator = UpgradeableEtherbaseUpgradeableGenerator()

genesis = {
    # genesis block parameters
    'alloc': {
        **etherbase_generator.generate_allocation(
            contract_address=ETHERBASE_ADDRESS,
            implementation_address=ETHERBASE_IMPLEMENTATION_ADDRESS,
            schain_owner=OWNER_ADDRESS,
            proxy_admin_address=PROXY_ADMIN_ADDRESS
        )
    }
}

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

etherbase-predeployed-1.0.0a13.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

etherbase_predeployed-1.0.0a13-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file etherbase-predeployed-1.0.0a13.tar.gz.

File metadata

File hashes

Hashes for etherbase-predeployed-1.0.0a13.tar.gz
Algorithm Hash digest
SHA256 52d575d07866824cf91b76a6aa00528fab05f5edcf8c24dadb12b4a434625068
MD5 c27356cb261cfe295252e8049a9e8cbf
BLAKE2b-256 703c2acd9cdec65514416abdd48dd9d5c9134b840a81f528eec05876388dd322

See more details on using hashes here.

File details

Details for the file etherbase_predeployed-1.0.0a13-py3-none-any.whl.

File metadata

File hashes

Hashes for etherbase_predeployed-1.0.0a13-py3-none-any.whl
Algorithm Hash digest
SHA256 c38923b7e9133d163b8dfa3d6b3149385a37b9449537b184d2c135a2ecbadab6
MD5 01c08d2411f7d5f3974b3577eca88c5d
BLAKE2b-256 5977bec480abde6bf6dc9e4af6f95b9adccd5a0c0f168282d4b4c7ff61bf650b

See more details on using hashes here.

Supported by

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